example.md 582 B


tags: sprite title: Sprite cursor brief: This example shows how to use the sprite animation cursor and frame count to manually select a specific frame author: Defold Foundation scripts: cursor.script

thumbnail: cursor_thumb.png

The example contains a sprite with a tilesource animation of a walking robot. The animation consists of 8 frames:

tilesource

The example also contains a script and some visual controls that can be used to step through or automatically play the tilesource animation using the animation cursor:

collection