---
title: "init(hasMotion:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/transitionproperties/init(hasmotion:)"
---

# init(hasMotion:)

## Declaration

```swift
init(hasMotion: Bool = true)
```

## See Also

### Creating the transition properties

- [hasMotion](swiftui/transitionproperties/hasmotion.md)
