---
title: "init(engine:shapes:)"
framework: phase
role: symbol
role_heading: Initializer
path: "phase/phaseoccluder/init(engine:shapes:)"
---

# init(engine:shapes:)

Creates an occluder with the given engine and shapes.

## Declaration

```swift
init(engine: PHASEEngine, shapes: [PHASEShape])
```

## Parameters

- `engine`: The object that controls the app’s audio output.
- `shapes`: A collection of shapes that defines the occluder’s overall shape.
