pxt-calliope/docs/reference/game/position.md
2016-06-11 22:28:57 -04:00

261 B

Position

Reports the x position of a sprite on the LED screen

export function x(_this: micro_bitSprites.LedSprite) : number

Reports the y position of a sprite on the LED screen

export function y(_this: micro_bitSprites.LedSprite) : number