# Duration enum

Namespace: [Grasshopper2.UI.Animation](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.animation.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum Duration
```

Enumerates default durations for UI animations. The names are sorted alphabetically from quickest to slowest. Furthermore the enum value equals the millisecond duration.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Abrupt | 0 | No duration at all, animation jumps to the final state immediately. |
| Brief | 50 | Very short animation duration, use when you don't want to have a sudden transition but the user should see the final state very quickly. The duration equals 50ms. |
| Fast | 150 | Short animation duration, use when you want a quick transition, but the final state must be reached quickly. The duration equals 150ms. |
| Normal | 300 | Normal animation duration. This is the recommended duration for *small* changes to the UI. The duration equals 300ms. |
| Slow | 500 | Long animation duration. This is the recommended duration for *large* changes to the UI. The duration equals 500ms. |
| Tedious | 1000 | Longer animation duration. This is the recommended duration for *slow* changes to the UI. The duration equals 1 second. |
| Torpid | 1500 | Very long animation duration, use only if the transition *must* be noticed by the user and the end-state is not all that important. The duration equals 1.5 seconds. |
| Ĝlāçïāľ | 5000 | Very long animation duration. Typically not used except for debugging purposes. The duration equals 5 seconds. |
