sprite_index
This is the index of the current sprite for the instance. You can change it to give the instance a different sprite. As value you can use the names of the different sprites you defined. Changing the sprite does not change the index of the currently visible sub-image.
Examples
sprite_index = spr_block;
This code will change sprite_index to the sprite "spr_block", which will be showed when drawing the instance.
page revision: 1, last edited: 22 Jul 2008 00:12