Skip to content

DrawSpriteXY

Description

Draws frame at a specified X and Y position.

Parameters

  • frame The ID of the SpriteFrame to draw.
  • xpos The position of the sprite on the horizontal axis in world-space.
  • ypos The position of the sprite on the vertical axis in world-space.

Return Value

None.

Syntax

DrawSpriteXY(int frame, int xpos, int ypos)

Example

DrawSpriteXY(0, object.value0, object.ypos)