Switching Cameras

How do you code cameras to switch in Cospaces?

Hi,

you can use “Switch to camera {camera name}” CoBlock in Actions category or set the active flag for the camera from typescript:

(Scene.getItem('camera1') as CameraItem).active = true;