Last Modified: 1/4/2021
Shifts a Sprite by X, Y pixels.
Name | Type | Required | Description |
Sprite | Integer | Yes | Sprite is the variable you prepared with AddSprite(). |
X | Integer | Yes | The x-coordinate you want to shift the Sprite by. |
Y | Integer | Yes | The y-coordinate you want to shift the Sprite by. |
Syntax: ShiftSprite <Sprite>, <X>, <Y> |
Dim a As Integer a = AddSprite(1,1) PropSprite a,1,0 MoveSprite a,128,128 Sleep 30 ShiftSprite a,32,64 |