# 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

``` { .lua .api-signature }
sm.localPlayer.isInFirstPersonView(  )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.localPlayer.md#isinfirstpersonview)

**Availability:** Client only

**Returns:**

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