Skip to content

Commit 007c04b

Browse files
Update main.ts
1 parent 9ac9fce commit 007c04b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ namespace sprites {
120120
/**
121121
* Sets an image in the data of a sprite
122122
*/
123-
//% blockId=spriteDataSetImage block="set $sprite=variables_get(mySprite) data $name to image $value"
123+
//% blockId=spriteDataSetImage block="set $sprite=variables_get(mySprite) data $name to image $value=screen_image_picker"
124124
//% group="Data"
125125
//% weight=9
126126
//% blockGap=8
127-
//% value.shadow.image(image.create(16,16))
127+
//% value.shadow.image(image.create(16,16))'
128128
export function setDataImage(sprite: Sprite, name: string, value: Image){
129129
if (!sprite || !name) return;
130130
const d = sprite.data;

0 commit comments

Comments
 (0)