Skip to main content

Show

Shows a selected widget. By default, all widgets are displayed to the user.

Show block

Description

The Show block shows a selected widget. By default, all widgets are displayed to the user. This is a code block from the Interface drawer.

Usage

Show shows a selected widget. By default, all widgets are displayed to the user.

Syntax

Input:

  • A widget from the drop down menu
Show block syntax

Example

The game below involves shooting down enemy spaceships while trying not to crash into them. After you crash into an enemy spaceship, everyone is deleted and the 'GAME OVER' label is shown using the 'show' block. This label is hidden in the setup of the game using the 'hide' block so that it is invisible until the game is over.

Show example code
  • Hide - Hides a visible widget