Coin flip variable. If you want him to return to the center, press the flag, otherwise, press space. I also decided to make him draggable when you press flag, it goes away when you click space, like the cookie clicker veil.` Do check inside if you wish to see notes and to understand how to make this from SCRATCH.
In my computer science class, on a micro bit(search it up) we made a dice like thing, where it would do a little animation and pick randomly between 1-6 and it showed two options, either have die faces or numbers, but I put both in just different versions for activating them. So I decided to implement that into scratch.