pxt-calliope/docs/reference/js/guides/scroll-image-docs.md

23 lines
410 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# Scroll Image Docs
My script. #docs
**Challenge 0**
2016-04-13 17:27:45 +02:00
This [guided tutorial](/xuhkviyyxa) introduces how to make an image look like it's scrolling across the micro:bit!
2016-03-26 00:47:20 +01:00
We can use an animation to make an image look like its moving!
```
basic.forever()
```
**Challenge 1**
Now, let's reverse the animation so it looks like the bar is bouncing off the right edge of the display.
```
basic1.forever()
```