sprite_index (Game Maker)

( Game Maker 6.1, 7 )

sprite_index - currently displayed sprite.

Description

sprite_index is an object variable that contains the name of the currently displayed sprite. When using sprite_index keep in mind that a sprite in Game Maker can have several subimages. If you want to set a specific image to be displayed, also use image_index.

Related Pages

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.