sm.localPlayer.isInFirstPersonView

Returns whether the player is in first person view where the viewpoint is rendered from the player's perspective. Otherwise, the player is in third person view where the camera is behind the player.

Kind: Function

Environments: Game

Game

sm.localPlayer.isInFirstPersonView(  )

Open the full Game reference

Availability: Client only

Returns:

Type Description
boolean Whether the player is in first person view.