sprite_height (Game Maker)
( Game Maker 6.1, 7 )
sprite_height - height of the current sprite
Description
sprite_height contains the height of the current sprite of an instance in pixels.
Examples
Example of Use
instance_create(x,sprite_height/2,obj_bullet);
This will create a bullet in the vertical center of an instance, no matter how tall its sprite is.
Related Pages
- sprite_width - width of the current sprite
Similar To
page revision: 12, last edited: 30 Jun 2012 15:28





