Camera2D
Control the viewport camera for scrolling, zooming, and following game objects.
Viewports
No shortcutBeginner5 min readQuick Reference
Camera2D
Godot EngineKeyboard Shortcut
N/A
Where to Find
Scene dock — Create New Node > Node2D > Camera2D / Camera3D
Best Used For
- ▸Control the camera view for scrolling and zooming
- ▸Set up split-screen multiplayer views
- ▸Render 3D scenes with adjustable FOV and clipping
Beginner-Friendly⏱ 15–30 minutes to master
Key Settings
Add:Limits:Smoothing:
Camera2D defines what the player sees. Supports smooth following, drag margins, zoom, and viewport limits.
Where to Find It
Found under Node2D in Create New Node dialog.
How to Use
- Add: Add Camera2D to your scene.
- Limits: Set Limit Left/Right/Top/Bottom to constrain the view.
- Smoothing: Enable Position Smoothing for a lagging follow effect.
Pro Tips
- Use Drag Margins for a dead zone in the center.
- Use multiple cameras for split-screen.