Godot - Zoom camera in and out
Code example to zoom camera in/out by changing zoom property in GDScript.
By changing the zoom property of the camera node, it is possible to enlarge and reduce the camera display.
The zoom property value is specified as a Vector2.
var camera = Camera2D.new()
func _ready():
camera.zoom = Vector2(3, 3)