PosX =  sprite .position .x .get  (  ObjectID  )  
                                     
Description :

This instruction returns the horizontal position of a sprite.

Parameters :

  • ObjectID of the sprite.

Return Value :

  • X component of the sprite's top left pixel position.

Examples :