Skip to main content

CameraResetToPosition

Description

Similar to CameraReset, but snaps the camera to a specified location.

function CameraResetToPosition(x, y, z, state) --[[ ... ]] end

Parameters

  • x: number - X coordinate of reset location.
  • y: number - Y coordinate of reset location.
  • z: number - Z coordinate of reset location.
  • state: boolean - Whether to snap back to player instantly.

Return Values

...

Example

...