SetSpriteX

Description

Immediately positions the specified sprite to the given X world coordinates. The default world coordinate system has 0,0 as the top left corner, and 100,100 as the bottom right hand corner of the screen (this can be changed using SetVirtualResolution).

This command positions the sprite by its top left corner.

Definition

SetSpriteX ( iSpriteIndex, fX )

Parameters