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)