I want when I click on the button to change the frame of the sprite animation.
Develop games in your browser. Powerful, performant & highly capable.
On button clicked > set animation frame to self.animationframe+1