diff --git a/libs/microbit/images.ts b/libs/microbit/images.ts index 62a01d47..6b851ecd 100644 --- a/libs/microbit/images.ts +++ b/libs/microbit/images.ts @@ -32,7 +32,7 @@ namespace images { * @param frameOffset x offset moved on each animation step, eg: 5, 1, -1 * @param interval time between each animation step in milli seconds, eg: 200 */ - //% help=functions/show-image weight=79 shim=micro_bit::showImage async + //% help=functions/show-image weight=79 shim=micro_bit::scrollImage async //% blockId=device_scroll_image block="scroll image %sprite|with offset %frameoffset|and interval (ms) %delay" blockGap=8 public scrollImage(frameOffset: number, interval : number = 200) { } @@ -47,4 +47,4 @@ namespace images { return 0; } } -} \ No newline at end of file +}