Ocultar

From StarLogo Nova Wiki
This page is a translated version of the page Hide and the translation is 64% complete.
Other languages:


Clock

clock is a bloque de código part of the interfaz drawer.

hide [▼] is a code block from the Interface drawer.

Uso

hide [▼] oculta un widget seleccionado. Una vez oculto, debe usar "mostrar" para que vuelva a ser visible.

Sintaxis

The Hide Block

Entradas:

  1. Seleccione el widget deseado del menú desplegable

Example

Hide example gif
Hide example code

The game above involves shooting down enemy spaceships, while trying to avoid crashing 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.

Para tener en cuenta

Related Blocks