In Godot 4.x, every 2D game object inherits from CanvasItem—branching primarily into spatial Node2D nodes for gameplay entities and Control nodes for UI. Separating physics bodies, collision shapes, visuals, and modular helper nodes is key to building clean, maintainable 2D scenes.
This cheat sheet catalogs the essential Godot 4.x 2D nodes by system category, listing Node Name, Godot 3 Legacy Name / Status, and Role & Use Cases for fast day-to-day lookup.
🔗 Related Game Dev & Programming Cheat Sheets: Godot 4 3D Nodes Cheat Sheet · Unity 3D Keyboard Shortcut Cheat Sheet · Blender Keyboard Shortcuts Cheat Sheet · C# 7 Cheat Sheet · Python Cheat Sheet · HTML5 Canvas Cheat Sheet
1. Core Transform & Positioning Nodes
1. Core Transform & Positioning Nodes| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| CanvasItem | Base 2D Class | Abstract base class for all drawable 2D nodes (Node2D and Control); provides visibility (visible), color modulation (modulate), custom _draw(), and shader material properties. |
| Node2D | Base 2D Node | Base class for all 2D spatial entities; provides 2D position, rotation, scale, skew, and rendering order (z_index) transforms. |
| Marker2D | Position2D (Godot 3) |
Displays a crosshair gizmo in the editor with no runtime rendering; used for spawn points, weapon muzzles, grip anchors, and patrol waypoints. |
| RemoteTransform2D | Core Utility | Pushes its own local or global Transform2D (position, rotation, scale) to another target node path; lets cameras or attachments follow bones/characters without reparenting. |
| CanvasGroup | New in Godot 4 | Composites all child nodes into a single offscreen texture before drawing; ideal for uniform group opacity (preventing overlapping alpha artifacts) or applying one shader across multiple sprites. |
| CanvasModulate | Core Utility | Applies a multiplicative color tint across its entire CanvasLayer; commonly used for day-night cycles, atmospheric darkening, or highlighting PointLight2D lighting. |
2. Rendering, Sprites & 2D Lighting
2. Rendering, Sprites & 2D Lighting| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| Sprite2D | Sprite (Godot 3) |
Displays a single static 2D texture or sprite-sheet frame; supports region cropping, grid frames (hframes/vframes), offsets, and horizontal/vertical flipping. |
| AnimatedSprite2D | AnimatedSprite (Godot 3) |
Plays named frame-by-frame animations from a SpriteFrames resource; suited for classic 2D pixel animations like walk cycles, attacks, and explosions. |
| Polygon2D | Core Visual | Renders an arbitrary 2D polygon defined by vertex arrays; supports solid fills, UV texture mapping, and skeletal mesh deformation with Skeleton2D. |
| Line2D | Core Visual | Draws a continuous polyline through a sequence of 2D points; supports width curves, color gradients, rounded joints, and tiled textures for trails, lasers, and lightning. |
| PointLight2D | Light2D (Godot 3) |
Emits localized 2D point lighting (torches, flashlights, lamps); illuminates surrounding textures/normal maps using a falloff texture and casts dynamic 2D shadows. |
| DirectionalLight2D | New in Godot 4 | Simulates parallel light from infinitely far away (sunlight, moonlight); affects the entire 2D viewport and casts parallel shadows across the scene. |
| LightOccluder2D | Core Lighting | Uses an OccluderPolygon2D contour to block 2D light rays; casts real-time dynamic shadows behind walls, pillars, and characters. |
| BackBufferCopy | Screen Shader Utility | Copies already-rendered screen pixels within a bounding rectangle into the back buffer; enables subsequent shaders to sample the scene for refraction, heat haze, or blur. |
3. Physics Bodies
3. Physics Bodies| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| CharacterBody2D | KinematicBody2D (Godot 3) |
Script-driven physics body built for players and NPCs; provides move_and_slide(), floor/wall/ceiling detection, slope snapping, and sliding response. |
| RigidBody2D | Core Physics | Fully simulated dynamic rigid body governed by the 2D physics engine; responds to gravity, mass, damping, friction, bounce, forces, and impulses (crates, boulders, projectiles). |
| StaticBody2D | Core Physics | Immovable solid collider unaffected by physics forces; primarily used for floors, walls, static obstacles, and non-moving level geometry. |
| AnimatableBody2D | New in Godot 4 | Static-like collider meant to be moved by code, AnimationPlayer, or Tween (moving platforms, elevators, gates); syncs motion with physics steps so riders move smoothly along with it. |
| Area2D | Trigger / Overlap | Non-blocking region for overlap and entry/exit detection; used for pickups, Hitbox/Hurtbox damage zones, aggro ranges, and local gravity/damping overrides. |
4. Collision Shapes & Spatial Casting
4. Collision Shapes & Spatial Casting| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| CollisionShape2D | Core Physics | Child of a physics body or Area2D providing standard geometric primitives (rectangle, circle, capsule, segment, world boundary) with minimal CPU overhead. |
| CollisionPolygon2D | Core Physics | Child of a physics body or Area2D defining custom concave/convex polygon collision bounds; ideal for irregular terrain, slopes, and custom props. |
| RayCast2D | Core Query | Casts an invisible ray from origin along a target vector; quickly reports the first hit collider, contact point, and surface normal (ledge checks, AI line-of-sight, hitscan weapons). |
| ShapeCast2D | New in Godot 4 | Sweeps an entire geometric shape (circle, box, capsule) along a motion vector; detects multiple hits and avoids narrow-gap misses common with single-line rays. |
5. Physics Joints & Constraints
5. Physics Joints & Constraints| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| PinJoint2D | Core Joint | Pins two physics bodies at a shared anchor point so they can rotate freely around it; ideal for pendulums, chains, ragdoll joints, and wheel axles. |
| GrooveJoint2D | Core Joint | Restricts one physics body to slide along a straight linear slot defined on another body; suited for pistons, hydraulics, and sliding tracks. |
| DampedSpringJoint2D | Core Joint | Connects two physics bodies with a simulated spring having configurable stiffness, damping, and rest length; useful for suspension, elastic ropes, and soft links. |
6. TileMaps & Parallax Backgrounds
6. TileMaps & Parallax Backgrounds| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| TileMapLayer | Recommended (Godot 4.3+) | Modern standalone grid tile layer replacing monolithic multi-layer TileMap nodes; each layer holds a TileSet with independent physics, navigation, Y-sorting, occlusion, and Terrains autotiling. |
| TileMap | Legacy Multi-Layer (4.0–4.2) | Grid-based multi-layer tile level editor node driven by a TileSet; since Godot 4.3, splitting into separate TileMapLayer nodes is recommended. |
| Parallax2D | Recommended (Godot 4.3+) | Lightweight single-node parallax solution; configures scroll_scale, infinite tiling (repeat_size), and autoscrolling directly without a parent container. |
| ParallaxBackground | Legacy Parallax Container | Traditional CanvasLayer-based root container driving multiple child ParallaxLayer nodes relative to the active camera. |
| ParallaxLayer | Legacy Parallax Layer | Child of ParallaxBackground that defines independent motion_scale and mirroring sizes for layered depth scrolling. |
7. Camera, Viewports & Canvas Layers
7. Camera, Viewports & Canvas Layers| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| Camera2D | Core Camera | Controls the active 2D viewport view; supports position smoothing, zoom, camera world limit bounds, drag margins, and screen-shake offsets. |
| CanvasLayer | Core Layering | Creates an independent 2D rendering layer unaffected by the world Camera2D transform; standard choice for HUDs, UI overlays, backgrounds, and screen transitions. |
| SubViewport | Viewport (Godot 3) |
Renders an isolated 2D/3D scene into a separate resolution buffer or ViewportTexture; commonly used for minimaps, picture-in-picture feeds, and pixel-perfect render targets. |
| SubViewportContainer | ViewportContainer (Godot 3) |
Control UI wrapper that displays a child SubViewport output inside interface layouts and forwards input events. |
8. Particle Systems & VFX
8. Particle Systems & VFX| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| GPUParticles2D | Particles2D (Godot 3) |
High-throughput particle emitter computed entirely on GPU shaders; handles tens of thousands of particles, attractors, trails, and LightOccluder2D collisions. |
| CPUParticles2D | Core VFX | Lightweight CPU-computed particle emitter with broad hardware/web compatibility; ideal for low-count effects or devices without compute shader support. |
9. 2D Skeletons & Meshes
9. 2D Skeletons & Meshes| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| Skeleton2D | Core Animation | Root container for a 2D skeletal rig; manages bone hierarchy, inverse kinematics (IK), and feeds bone transforms to deformed Polygon2D meshes. |
| Bone2D | Core Animation | Individual bone joint inside a Skeleton2D hierarchy; drives smooth vertex skinning and cutout character animation when weighted to Polygon2D. |
| MeshInstance2D | Core Rendering | Renders a custom 2D Mesh resource in 2D space; useful for procedural geometry or imported 2D mesh planes. |
| MultiMeshInstance2D | Core Optimization | Uses GPU instancing to render thousands of identical 2D meshes in a single draw call; ideal for dense grass fields, bullet-hell projectiles, and falling leaves. |
10. Paths & AI Navigation
10. Paths & AI Navigation| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| Path2D | Core Pathing | Defines a smooth 2D Bezier spline path using a Curve2D resource; used for patrol routes, rail tracks, and projectile spline guides. |
| PathFollow2D | Core Pathing | Child of Path2D that moves attached children along the spline automatically via progress (pixels) or progress_ratio (0.0 to 1.0). |
| NavigationRegion2D | NavigationPolygonInstance |
Holds and bakes a 2D NavigationPolygon mesh defining walkable terrain boundaries for AI pathfinding. |
| NavigationAgent2D | New / Reworked in Godot 4 | Component attached to moving AI actors; queries NavigationServer2D for shortest paths, checks target arrival, and computes RVO local avoidance velocities. |
| NavigationLink2D | New in Godot 4 | Connects two disconnected navigation polygons (cliff jumps, one-way drop-downs, teleporters, ladders) so AI agents can traverse across gaps. |
| NavigationObstacle2D | New / Reworked in Godot 4 | Registers dynamic or temporary obstacles (radius or vertex outline) with the navigation server so RVO-enabled agents steer around them. |
11. Visibility Culling, Audio & Touch Input
11. Visibility Culling, Audio & Touch Input| Node Name | Godot 3 / Status | Role & Use Cases |
|---|---|---|
| VisibleOnScreenNotifier2D | VisibilityNotifier2D (Godot 3) |
Monitors when its bounding rect enters or exits any active camera view and emits screen_entered / screen_exited signals (e.g., despawning off-screen projectiles). |
| VisibleOnScreenEnabler2D | VisibilityEnabler2D (Godot 3) |
Performance culling node that automatically pauses physics, animations, and _process on target nodes while off-screen, resuming when visible again. |
| AudioStreamPlayer2D | Core Audio | Plays positional 2D audio with distance attenuation and stereo panning relative to the active Camera2D or AudioListener2D. |
| AudioListener2D | New in Godot 4 | Explicitly defines the 2D spatial audio listening point (otherwise handled by the active Camera2D); useful when camera and listener positions differ. |
| TouchScreenButton | Core Mobile Input | Node2D-based button built for touchscreens; supports multi-touch presses and maps directly to Input Actions for virtual D-pads and mobile skill buttons. |