19 lines
358 B
Markdown
19 lines
358 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
|
|
```
|
|
|
|
### Lessons
|
|
|
|
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)
|
|
|