# wrapMode

> Sets the default wrap mode used in the animation state.

## Definition

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

```csharp
public WrapMode wrapMode { get; set; }
```

### Remarks

Only used with Legacy AnimationClip.
