Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Show or Hide a Sprite

    2D Blocks
    1
    1
    1335
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • info-creaticode
      CreatiCode last edited by admin

       

      Prerequisite

      • Working with blocks

       

      Description

      The “Show” and “Hide” blocks are Stack blocks in the Looks category.


       

      “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.


       

      “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.


       

      Show and Hide Radio Buttons

      You can also show or hide a sprite by clicking on these Radio buttons radio button.PNG in the Sprite pane. These buttons also toggle when you hide or show a sprite using the blocks.


       

      1 Reply Last reply Reply Quote 0
      • First post
        Last post