Sprite editor: implement adding animation/direction from the buttons.