> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor/ks.reactor.kscurve/ks.reactor.kscurve.wrapmodes.md).

# Enum ksCurve.WrapModes

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

Affects how the curve is evaluated when the time falls outside the curve duration.

```csharp
public enum ksCurve.WrapModes : byte
```

## Fields

`First = 0`

Return the first keyframe value.

`Last = 1`

Return the last keyframe value.

`Loop = 2`

Evaluate as if the curve loops.

`PingPong = 3`

Evaluate as if the curve loops and alternates direction.
