Godot - Create a new camera
Code example for creating a new camera in GDScript.
A new camera can be created using Camera2D.new()
.
The camera can be created globally or as a child node of each node.
var camera = Camera2D.new()
![Godot](/images/godot/image.png)
WEB Design & Material Images
Code example for creating a new camera in GDScript.
A new camera can be created using Camera2D.new()
.
The camera can be created globally or as a child node of each node.
var camera = Camera2D.new()