> For the complete documentation index, see [llms.txt](https://anything-world.gitbook.io/anything-world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anything-world.gitbook.io/anything-world/unity/documentation/anythingworld-api/animation/legacyanimationcontroller/playanimation.md).

# PlayAnimation

AnythingWorld.Animation.LegacyAnimationController.PlayAnimation

**Declaration**

```csharp
public void PlayAnimation(string animationName)
```

**Parameters**

| animationName | Name of animation to play |
| ------------- | ------------------------- |

#### Description

Play a new animation.
