Simple Animation

The SVG standard provides support for animating drawings both
internally through animation elements and externally through
scripts. This section will demonstrate a simple animation using
ECMAscript
(a standard that JavaScript and JScript are dialects of). Although
there are plans for supporting animation in Inkscape, at the
moment there is no support. Adding animation requires editing the SVG
file with a text editor.
Note that Inkscape added some limited support for scripts in
v0.47 through the Set
Attributes and Transmit
Attributes extensions.

In the following SVG drawing, the blue square oscillates back and
forth (in a supporting SVG viewer). The square still changes
opacity when the mouse is over it and it still contains a hypertext
link.