---
title: "init(_:location:confidence:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/jointpoint/init(_:location:confidence:)"
---

# init(_:location:confidence:)

Creates a joint point with its key, location and confidence.

## Declaration

```swift
init(_ key: JointKey, location: CGPoint, confidence: Float)
```

## Parameters

- `key`: Joint point identifier name.
- `location`: A point indicating the location of the joint.
- `confidence`: The detection confidence for the joint.
