Skip to main content

The "sprite_get_speed_real" Function

Syntax#

sprite_get_speed_real(sprite);
ArgumentTypeDescription
spritespriteThe sprite to retrieve speed of

Description#

Returns the target sprite speed as defined in the sprite editor, forcing the results to be interpreted as frames per-game frame.

Example#

var speed_real = sprite_get_speed_real(my_sprite);