Skip to main content
GDT
SkillFreeBy GameSkill · tuned

Godot UI (Control Nodes)

/godot-ui-control

Godot 4.7 interfaces with Control nodes: anchors, containers, themes and keyboard or gamepad focus navigation.

License
Apache-2.0
By
By GameSkill
Download ZIP

Part of

Awesome Gamedev Agent Skills

77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.

Tested by GameSkill

26/26 checks passed on Godot 4.7.2 (2026-10-28): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

When it triggers

Build Godot 4.7 user interfaces with Control nodes: anchors and offsets for responsive layout, Container nodes (VBox/HBox/Grid/Margin) for automatic arrangement, Theme resources for consistent styling …

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 184b72be0288, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

Download tested ZIP (35 KB)Roadmap: UI & systems

License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Godot UI (Control Nodes)

Self-check

  • 界面用 Control 节点,不放在 Node2D 下面 / UI is built from Control nodes, not parented under Node2D
  • 用锚点预设(如 set_anchors_and_offsets_preset)适配窗口,而不是写死像素 / Uses anchor presets (e.g. set_anchors_and_offsets_preset) to adapt to the window, not fixed pixels
  • Container 的子节点不手动设置 position 或锚点,用 size_flags 控制伸缩 / Children of a Container don't set their own position or anchors; size_flags control stretching
  • 风格放在顶层 Theme 里,单个节点的 add_theme_*_override 只用于例外 / Styling lives in a top-level Theme; per-node add_theme_*_override only for exceptions
  • 启动时有控件 grab_focus(),按钮 focus_mode 为 FOCUS_ALL,方向键能走完所有按钮 / A control grabs focus at start, buttons use FOCUS_ALL, and arrow keys reach every button

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/godot-ui-control/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/godot-ui-control.zip -o /tmp/gameskill-godot-ui-control.zip
unzip -oq /tmp/gameskill-godot-ui-control.zip -d .claude/skills
rm /tmp/gameskill-godot-ui-control.zip

What you get

  • Worked steps: Responsive layout with anchors; A menu built from containers + button signals; Size flags: make one child expand to fill leftover space; Theme override for one node
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed
  • Written for Godot 4.7

Good fit

  • Laying out a HUD, menu, or UI in a Godot project, working with Control/Container nodes, anchors, themes, or focus in a .tscn

Try this prompt

Prompt
Build a main menu with containers, a theme and gamepad focus navigation.

About this skill

Build Godot 4.7 user interfaces with Control nodes: anchors and offsets for responsive layout, Container nodes (VBox/HBox/Grid/Margin) for automatic arrangement, Theme resources for consistent styling, and keyboard/gamepad focus navigation. Use when laying out a HUD, menu, or UI in a Godot project, working with Control/Container nodes, anchors, themes, or focus in a .tscn.

From the godot-ui-control SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • Responsive layout with anchors (code form)
  • A menu built from containers + button signals
  • Size flags: make one child expand to fill leftover space
  • Theme override for one node (without a full Theme resource)

Requirements

  • Godot 4.7

FAQ

MATCHED PRO KIT$8.25/mo

Roguelike Deckbuilder Starter (Godot 4 + Web)

Stop staring at an empty project: a complete white-label playable Roguelike Deckbuilder template in Godot 4 & Web HTML5 — Opening 3-Slot Blessings, Non-Crossing DAG Map, Hand-Arc Combat, 50% Boss Phase Lock, Campfire/Shop Purge, atomic SaveStore, EN/ZH Localization, balanced JSON/CSV tables & 1,000-run HTML balance CLI.

  • Runnable Godot 4.3+ project (project.godot, Main.tscn, GameBus, atomic SaveStore & EN/ZH LocService)
  • Playable zero-build Web HTML5 starter with hand arc, 2f hit-flash, micro shake & checksummed save

Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

Works well with

Skills the author points to as related or as the better fit for neighbouring tasks.

More from Awesome Gamedev Agent Skills

See all 42

Similar skills