# Sandbox.Npcs.BaseNpc.CalculateEyePosition

```csharp
static Vector3 CalculateEyePosition(GameObject go)
```

Where a GameObject's eyes are: the camera for the local first person player, the "eyes"
attachment if its model has one, an NPC's [Sandbox.Npcs.BaseNpc.EyePosition](/api/Sandbox.Npcs.BaseNpc/EyePosition), otherwise its bounds centre.

### Parameters

- `go` (`GameObject`)

### Returns

`Vector3`

Declared in [Sandbox.Npcs.BaseNpc](/api/Sandbox.Npcs.BaseNpc).
Assembly: `Sandbox.Engine`.
