ShiftSprite
Previous  Next

Description: Shifts the sprite relative to its position by <x>,<y>.

     Syntax:
     
ShiftSprite <x>, <y>

Part
Description
<x>
Required. Sprite is shifted by x pixels on the x-axis.
<y>
Required. Sprite is shifted by y pixels on the y-axis.

Example:

     a = AddSprite(1,1)
     PropSprite a,1,0
     MoveSprite a,128,128
     Sleep 100
     ShiftSprite a,100,0