31 lines
528 B
Markdown
31 lines
528 B
Markdown
# Change
|
|
|
|
The game library
|
|
|
|
### Change
|
|
|
|
Sprite will change the x position by this number
|
|
|
|
## Block Editor
|
|
|
|

|
|
|
|
## KindScript
|
|
|
|
Sprite will change the x position by this number
|
|
|
|
```
|
|
export function changeXBy(_this: micro_bitSprites.LedSprite, x: number)
|
|
```
|
|
|
|
Sprite will change the y position by this number
|
|
|
|
```
|
|
export function changeYBy(_this: micro_bitSprites.LedSprite, y: number)
|
|
```
|
|
|
|
### Lessons
|
|
|
|
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
|
|
|