Show or Hide a Sprite
-
Prerequisite
Description
The “Show” and “Hide” blocks are Stack blocks in the Looks category.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/8d2b3fb3-8527-409f-8c76-582e643e04df.PNG" width="550" style="">
“Show” Block
If a sprite is hidden, the “Show” block is used to show it on stage.
Note: If the sprite is already showing, then nothing will change when you run the show block.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/8b33b8d3-3648-4d25-b6a5-50849bf9a5b4.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
“Hide” Block
The “Hide” block is used to hide the current sprite from stage (making it invisible).
Note: If the sprite is already hidden, then nothing will happen when you run the hide block.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/22dd04c5-9424-4675-93a7-e665df1ff4bd.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
Show and Hide Radio Buttons
You can also show or hide a sprite by clicking on these Radio buttons
in the Sprite pane. These buttons also toggle when you hide or show a sprite using the blocks.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/5ffebf4b-ffab-438d-8f07-45b8ad311e11.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login