Get camera position||doc136874

September 20, 2022

Format

Blockman:getViewerPos()
  • The class of the function: Blockman

Description

Get camera position

Return

Type Description
Vector3 position

Code example

local cameraPos = Blockman.Instance():getViewerPos()
print(cameraPos)