pxt-calliope/docs/reference/game/position.md
2016-08-09 16:52:24 +01:00

14 lines
267 B
Markdown

# Position
Reports the x position of a sprite on the LED screen
```sig
export function x(_this: micro_bitSprites.LedSprite) : number
```
Reports the y position of a sprite on the LED screen
```sig
export function y(_this: micro_bitSprites.LedSprite) : number
```