Click on the control pad in the top-left corner. She'll stop when she reaches the edge or when you click the red button.
Right, so I have to admit that I did this just to see it done. Sprite animation in SVG is just not what you expect and I love Secret of Mana.
Secret of Mana 2 - Seiken no Densestu (c) Square.
Source code may be freely downloaded and examined. Please do not plagiarize.