Skip to main content

The "sprite_get_speed_fps" Function

Syntax#

sprite_get_speed_fps(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-second.

Example#

var speed_fps = sprite_get_speed_fps(my_sprite);