image_number

The number of subimages for the current sprite for the instance (cannot be changed).

Example

draw_text(0,0,"Number of subimages in current sprite: "+string(image_number))

This code will, at x=0, y=0, draw the number of subimages with the stated prefix. For example, if the image has 32 frames, it would read:
Number of subimages in current sprite: 32
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License