Skip to content

DrawObjectAnimation (RSDKv4)

Description

Draws an object's sprites from the animation file loaded prior via LoadAnimation(). The sprite will be drawn at object.xpos and object.ypos, with flipping and rotation applied based on the current animation's rotate style.

Note

Object animations cannot use scale or ink effects.

Parameters

None.

Return Value

None.

Example

DrawObjectAnimation()