← All help pages

Add a Component to the scene

A Component is an element the player does something with: clicks it, drags it or connects it to another one. You set what exactly the player may do on the page Set a Component's behavior. Here the Component gets onto the scene and receives its appearance. How to select, copy and delete elements is described on the page Select, copy and delete elements.

Before you start: an exercise is open in the editor (see Start a new exercise).

Add a Component

  1. In the Components panel on the left, click Component (marker 1 in the screenshot).

    The Components panel with the Component entry marked with the number 1

  2. A new Component appears on the scene and is selected right away (marker 1). It is an empty rectangle with the name “Component 1”. The name is also in the Scene elements list.

    The scene with a new, selected Component marked with the number 1

Give the Component an appearance

A new Component starts with the appearance Image chosen, but without a file, so the problem counter on the toolbar shows an error. You can choose from three appearances: Image, Animation and Text. The simplest is a caption.

  1. In the Inspector panel, in the Appearance section, open the first list (marker 1) and choose Text. The caption fields appear under the list.

  2. In the Content field (marker 2), type the content, for example “Click me”. The caption appears on the scene at once.

    The Appearance section: the appearance list with Text chosen (1) and the Content field with the default word Text (2)

Instead of a caption, you can leave Image and choose a file as on the page Add an Image to the scene.

Common mistakes