# Sandbox.Npcs.Layers.AnimationLayer.SetLookTarget

## Overload 1

```csharp
void SetLookTarget(GameObject target)
```

Set a persistent look target that tracks a GameObject each frame.

### Parameters

- `target` (`GameObject`)

## Overload 2

```csharp
void SetLookTarget(Vector3 target)
```

Set a persistent look target at a fixed world position.

### Parameters

- `target` (`Vector3`)

Declared in [Sandbox.Npcs.Layers.AnimationLayer](/api/Sandbox.Npcs.Layers.AnimationLayer).
Assembly: `Sandbox.Engine`.
