setCamScale(scale: Vec2): void

Set camera scale.

paramscale- The scale to set the camera to.

// set camera scale to (2, 2)
setCamScale(2, 2);
setCamScale(vec2(2, 2));
setCamScale(2); // x and y are the same

sincev3001.1

kaplay logo

Misc

Layer