# 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.
