Node2D
The fundamental base node for all 2D game objects, providing position, rotation, and scale properties.
Base 2D
No shortcutBeginner5 min readQuick Reference
Node2D
Godot EngineKeyboard Shortcut
N/A
Where to Find
Scene dock — Create New Node > Node2D category
Best Used For
- ▸Group and organize 2D scene elements under a common transform
- ▸Position, rotate, and scale UI and game objects
- ▸Create parent-child hierarchies for complex objects
Beginner-Friendly⏱ 15–30 minutes to master
Key Settings
Add a Node2D:Position:Rotate:Scale:
Node2D is the base node type for all 2D elements in Godot. Every 2D node in your scene inherits from Node2D, providing essential transform properties: position, rotation, and scale.
Understanding Node2D is fundamental because its transform properties affect all child nodes. When you move, rotate, or scale a Node2D, all children are affected too.
Where to Find It
Available in the Create New Node dialog. Click Add Child Node in the Scene dock, search for "Node2D".
How to Use
- Add a Node2D: Right-click in the Scene dock, select Add Child Node, search for Node2D.
- Position: Use the Move Tool (W) to drag in the 2D viewport, or enter X/Y values in the Inspector.
- Rotate: Use the Rotate Tool (E) or enter a rotation value in radians.
- Scale: Use the Scale Tool (R) or enter scale values in the Inspector.
- Parenting: Drag other nodes onto the Node2D to group them under its transform.
Pro Tips
- Use empty Node2D nodes as organizational folders in your scene tree.
- The Transform property lets you reset position, rotation, or scale individually.
- Hold Ctrl while dragging to snap to grid increments.