---
title: init()
framework: swiftui
role: symbol
role_heading: Initializer
path: swiftui/unitpoint/init()
---

# init()

Creates a unit point at the origin.

## Declaration

```swift
init()
```

## Discussion

Discussion A view’s origin appears in the top-left corner in a left-to-right language environment, with positive x toward the right. It appears in the top-right corner in a right-to-left language, with positive x toward the left. Positive y is always toward the bottom of the view.

## See Also

### Creating a point

- [init(x:y:)](swiftui/unitpoint/init(x:y:).md)
