Get the player’s perspective||doc135634

September 20, 2022

Format

 Blockman:getPersonView()
  • The class to which the function belongs:Blockman

Description

Get the player's personal perspective.


Value Returned

type Description
int Type of perspective (0: first person, 1: third person, 2: frontal person, 3: follow perspective, 4: fixed perspective)


Code Samples

local ViewNum = Blockman.Instance():getPersonView()
print(ViewNum)