---
title: "init(position:target:up:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/pose3d/init(position:target:up:)"
---

# init(position:target:up:)

Returns a pose at the specified position with the rotation towards the target.

## Declaration

```swift
init(position: Point3D = .zero, target: Point3D, up: Vector3D = Vector3D(x: 0, y: 1, z: 0))
```

## Parameters

- `position`: A point structure that specifies the position of the pose.
- `target`: The point that the pose orients towards.
- `up`: The up direction.

## See Also

### Creating a 3D pose structure

- [init()](spatial/pose3d/init().md)
- [init(_:)](spatial/pose3d/init(_:)-8njy6.md)
- [init(_:)](spatial/pose3d/init(_:)-9xspz.md)
- [init(forward:up:)](spatial/pose3d/init(forward:up:).md)
- [init(position:rotation:)](spatial/pose3d/init(position:rotation:)-1gu7k.md)
- [init(position:rotation:)](spatial/pose3d/init(position:rotation:)-5afaf.md)
- [init(position:rotation:)](spatial/pose3d/init(position:rotation:)-5vswy.md)
- [init(position:rotation:)](spatial/pose3d/init(position:rotation:)-zc2j.md)
- [init(transform:)](spatial/pose3d/init(transform:)-2sey4.md)
- [init(transform:)](spatial/pose3d/init(transform:)-4go9c.md)
