---
title: motionKeyframeCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4primitiveaccelerationstructuredescriptor/motionkeyframecount
---

# motionKeyframeCount

Sets the motion keyframe count.

## Declaration

```swift
var motionKeyframeCount: Int { get set }
```

## Discussion

Discussion This property’s default is 1, indicating no motion.
