FANDOM


image_index is a reference to the current frame of animation for the game objects sprite. For example, setting image_index to 0 would change the objects sprite to the first frame stored in the sprite. Keep in mind that this variable counts from 0, just the same as the frame IDs in the Sprite Editor.