14 lines
261 B
Markdown
14 lines
261 B
Markdown
|
# 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
|
||
|
```
|