sprite_height (Game Maker)

( Game Maker 6.1, 7 )

sprite_height - height of the current sprite


sprite_height contains the height of the current sprite of an instance in pixels.


Example of Use


This will create a bullet in the vertical center of an instance, no matter how tall its sprite is.

Related Pages

Similar To

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