> 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/wait.md).

# Wait

AnythingWorld.Animation.LegacyAnimationController.Wait

**Declaration**

```csharp
public IEnumerator Wait(float seconds, Action callback)
```

#### Parameters

| seconds  | Length of time to wait for callback |
| -------- | ----------------------------------- |
| callback | The function to callback            |

#### Description

Controller waits a set length of seconds and then does a function call.
