---
title: keyPath
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiinterpolatingmotioneffect/keypath
---

# keyPath

The key path you want to modify on the view.

## Declaration

```swift
var keyPath: String { get }
```

## Discussion

Discussion This property must correspond to an animatable property of the view to which the motion effect is attached.

## See Also

### Accessing the motion attributes

- [type](uikit/uiinterpolatingmotioneffect/type.md)
- [minimumRelativeValue](uikit/uiinterpolatingmotioneffect/minimumrelativevalue.md)
- [maximumRelativeValue](uikit/uiinterpolatingmotioneffect/maximumrelativevalue.md)
