---
title: "init(selectedJoints:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/jointsselector/init(selectedjoints:)"
---

# init(selectedJoints:)

Creates a joint selector transformer using a list of joint keys to be selected.

## Declaration

```swift
init(selectedJoints: [JointKey])
```

## Parameters

- `selectedJoints`: Joint keys to be selected from the pose.

## See Also

### Creating a selector

- [init(ignoredJoints:)](createmlcomponents/jointsselector/init(ignoredjoints:).md)
