Skip to content

CameraBounds

class CameraBounds extends Area2D

Description

An Area2D for dynamically setting the limits of the WorldCamera for a room.

Place in a Room to set the limits for the game's main camera for that room. Note: It is recommended to place this at/near the start of the room's SceneTree so that it stays out of the way.