How to code to made a random sprite appear

How to code to made a random sprite appear

1 Like

I am a complete beginner but I would try this…

-Use a Variables block & Math Block
“set app variable “Sprite Number” to” random integer from 1 to however many sprites you have"

-Then Use Control, Variables, Math, logic & Add &Remove Blocks.
“if app variable “Sprite Number” = 1
do + create Sprite_Type1”
do this step for each sprite type changing the number for each type


I hope this helps!

1 Like

thank you so much!

1 Like