The speed with which we cycle through the sub-images. A value of 1 indicates that each step we get the next image. Smaller values will switch sub-images slower, drawing each sub-image multiple times. Larger values will skip sub-images to make the motion faster.



With this code, the sprite's animation will stop.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License