6. Add, select, move and resize elements
1. Choose the Adventure HUD and click Add Element.
2. Choose Label. The new control appears on the canvas and in GUI Elements.
3. In General, change ID to objective_label and Editor Name to Objective Label, using a unique ID within this GUI.
4. Set its X, Y, Width and Height, then use Text & Content for the words.
5. Save the project after the live edits have been accepted.
Figure 8. A new element has its own General tab. Editor Name is a label for you; its ID is used by actions and scripts.
| Task | How to do it |
|---|---|
| Select a covered control | Choose it from GUI Elements rather than clicking through other artwork. |
| Move | Drag the selected control, or enter exact X and Y values. |
| Resize | Drag an edge or corner, or enter Width and Height. The editing safety minimum is 12 by 12. |
| Select several | Ctrl-click adds or removes controls from the selection. |
| Fine movement | Focus the canvas and use arrow keys. See the note below for Shift. |
An arrow nudge is one design pixel. Shift uses ten pixels when Snap is off; with Snap on it uses the current grid step. The default grid step is ten, so the usual starting behavior is the same.
