---
title: "makeAdvancedPlayer(with:)"
framework: corehaptics
role: symbol
role_heading: Instance Method
path: "corehaptics/chhapticengine/makeadvancedplayer(with:)"
---

# makeAdvancedPlayer(with:)

Creates an advanced haptic pattern player from a haptic pattern.

## Declaration

```swift
func makeAdvancedPlayer(with pattern: CHHapticPattern) throws -> any CHHapticAdvancedPatternPlayer
```

## Parameters

- `pattern`: The haptic pattern you’d like the player to play.

## Return Value

Return Value A new advanced pattern player instance.

## See Also

### Creating Haptic Pattern Players

- [makePlayer(with:)](corehaptics/chhapticengine/makeplayer(with:).md)
