22 lines
385 B
Markdown
22 lines
385 B
Markdown
# Change
|
|
|
|
Sprite will change the x position by this number
|
|
|
|
### Block Editor
|
|
|
|
![](/static/mb/change-0.png)
|
|
|
|
### JavaScript
|
|
|
|
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)
|
|
```
|