x position block x position block

The x position block reports a sprite’s current x coordinate on the stage.

Notes

  • The value can be displayed on the stage by checking the box next to the block in the code palette
  • The value displayed on the stage is always that of the original sprite
  • When used in a script run by a clone, it refers to the clone’s position