Workshop.codes
Create

Lock Camera To Position Last updated April 27, 2026

Description

Overrides a player's camera to a fixed world position, decoupling it from the player's own perspective. The player retains full control of their hero but views the game from the specified point. Reverts when cleared with Clear Camera Lock.

Snippet

Lock Camera To Position(Event Player, Vector(0, 20, 0));

Properties

Returns: Void
Parameters: Player, Position

Player
Type: Player, Default: Event Player
The player whose camera will be locked.

Position
Type: Vector, Default: Vector(0, 0, 0)
The world position the camera will be fixed at.

Workshop.codes