# max

> The maximum rotation away from the initial value that this muscle can apply.

## Definition

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

```csharp
public Vector3 max { get; set; }
```

### Remarks

The [HumanLimit.center](/engine/6000.0/script-reference/unityengine/humanlimit/center.md) property specifies the rotation of the bone when the muscle is at "rest". The max value specfies the maximum rotation in degrees away from the rest value that the muscle can apply. The [HumanLimit.min](/engine/6000.0/script-reference/unityengine/humanlimit/min.md) value specifies a similar limit but in the negative direction of rotation.

The allowed range for the maximum is 0..180 degrees.

Additional Resources: [HumanLimit.useDefaultValues](/engine/6000.0/script-reference/unityengine/humanlimit/usedefaultvalues.md).
