# SetLookAtClampWeight(float)

> Sets the LookAt clamp weight.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.0/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public void SetLookAtClampWeight(float weight)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The LookAt clamp weight.

### Remarks

0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).

Additional Resources: [AnimationHumanStream.SolveIK](/engine/6000.0/script-reference/unityengine/animations/animationhumanstream/solveik.md), [AnimationHumanStream.SetLookAtPosition](/engine/6000.0/script-reference/unityengine/animations/animationhumanstream/setlookatposition.md).
