# this[]

> Returns either the overriding Animation Clip if set or the original Animation Clip named name.

## Definition

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

## this\[string]

Returns either the overriding Animation Clip if set or the original Animation Clip named name.

```csharp
public AnimationClip this[string name] { get; set; }
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                                          | Description |
| ----------------------------------------------------------------------------- | ----------- |
| [AnimationClip](/engine/6000.6/script-reference/unityengine/animationclip.md) |             |

### Remarks

Note: You should avoid calling this function more than once per frame per Animator as each call will trigger a reallocation of the animator's clip bindings. Instead use [AnimatorOverrideController.ApplyOverrides](/engine/6000.6/script-reference/unityengine/animatoroverridecontroller/applyoverrides.md).

## this\[AnimationClip]

Returns either the overriding Animation Clip if set or the original Animation Clip named name.

```csharp
public AnimationClip this[AnimationClip clip] { get; set; }
```

### Parameters

**** (\[AnimationClip]\(/engine/6000.6/script-reference/unityengine/animationclip)):&#x20;

### Returns

| Type                                                                          | Description |
| ----------------------------------------------------------------------------- | ----------- |
| [AnimationClip](/engine/6000.6/script-reference/unityengine/animationclip.md) |             |

### Remarks

Note: You should avoid calling this function more than once per frame per Animator as each call will trigger a reallocation of the animator's clip bindings. Instead use [AnimatorOverrideController.ApplyOverrides](/engine/6000.6/script-reference/unityengine/animatoroverridecontroller/applyoverrides.md).
