# QueueMode

> Used by Animation.Play function.

## Definition

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

```csharp
public enum QueueMode
```

## Fields

| Value                                                                                     | Description                                                                                            |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [CompleteOthers](/engine/6000.6/script-reference/unityengine/queuemode/completeothers.md) | Will start playing after all other animations have stopped playing.                                    |
| [PlayNow](/engine/6000.6/script-reference/unityengine/queuemode/playnow.md)               | Starts playing immediately. This can be used if you just want to quickly create a duplicate animation. |
