4. Size the actual GUI canvas
Click GUI Window in the designer toolbar. The canvas boundary becomes the selected item, and the Inspector opens the GUI Window tab. This is the space your elements belong to; adding a large Panel is not the same as resizing it.
1. For the HUD example, set GUI Width to 1280 and GUI Height to 720.
2. Set Runtime X and Runtime Y to 0.
3. Leave Use Window Background Color, Show Border Frame and Show Title Bar off for a transparent HUD.
4. Apply the GUI form and save.
Figure 4. The same controls can make a smaller menu. Here the menu canvas is 640 by 480, with a visible background and border.
| Setting | Meaning |
|---|---|
| Runtime X / Y | The authored position in the game viewport. An entire-GUI anchor can override this placement. |
| GUI Width / Height | The space available inside this GUI. Elements use coordinates within it. |
| Window Opacity | The window surface opacity. Check text readability separately. |
| Border frame controls | Enable the outline, choose its color and width, then set its overall radius. |
The designer shows the GUI at the editing canvas origin. Runtime X and Y describe its game position; they are not a way to pan the editor view. You can also resize the selected GUI boundary with its handles.
