---
title: "init(name:jointWeights:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/skeletonresource/blendmask/init(name:jointweights:)"
---

# init(name:jointWeights:)

Creates a blend mask with the specified parameters.

## Declaration

```swift
init(name: String, jointWeights: [String : Float])
```

## Parameters

- `name`: The unique name of the blend mask within the skeleton
- `jointWeights`: Dictionary of joint weights keyed by joint name (0-1 range). Joints not in dictionary default to 1.0 (full animation effect).
