---
title: MTLMotionBorderMode.clamp
framework: metal
role: symbol
role_heading: Case
path: metal/mtlmotionbordermode/clamp
---

# MTLMotionBorderMode.clamp

A mode that specifies treating times outside the specified endpoint as if they were at the endpoint.

## Declaration

```swift
case clamp
```

## See Also

### Specifying motion modes

- [MTLMotionBorderMode.vanish](metal/mtlmotionbordermode/vanish.md)
