---
title: "init(edge:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/movetransition/init(edge:)"
---

# init(edge:)

Creates a transition that moves the view away, towards the specified edge of the view.

## Declaration

```swift
nonisolated init(edge: Edge)
```

## See Also

### Creating the transition

- [edge](swiftui/movetransition/edge.md)
