Label
Display text in your game UI. Configure fonts, colors, alignment, and dynamic text updates for scores and info.
UI
No shortcutBeginner7 min readQuick Reference
Label
Godot EngineKeyboard Shortcut
N/A
Where to Find
Scene dock — Create New Node > Control category
Best Used For
- ▸Build menus, HUDs, and inventory screens
- ▸Create responsive layouts with containers
- ▸Handle button clicks and input field events
Beginner-Friendly⏱ 15–30 minutes to master
Key Settings
Add:Text:Font:Align:
Label displays text in your UI. It supports custom fonts, colors, alignment, autowrapping, and dynamic text updates through code.
Where to Find It
Found under Control in Create New Node dialog. Search for "Label".
How to Use
- Add: Add a Label node to your UI scene.
- Text: Set the Text property or update it with
label.text = "Hello". - Font: Load a .ttf or .otf font in the Theme or Font property.
- Align: Set Horizontal and Vertical alignment in the Inspector.
Pro Tips
- Use
label.text = str(score)for dynamic score displays. - Enable Autowrap for multiline text in fixed-width containers.