---
title: PHASEContainerNodeDefinition
framework: phase
role: symbol
role_heading: Class
path: phase/phasecontainernodedefinition
---

# PHASEContainerNodeDefinition

A node that plays all its children at the same time.

## Declaration

```swift
class PHASEContainerNodeDefinition
```

## Overview

Overview This node adds structure to the sound event tree while performing no conditional logic or audio playback of its own. By passing invocation to all its children at once, this class invokes the child nodes’ actions simultaneously.

## Topics

### Creating a Node

- [init()](phase/phasecontainernodedefinition/init().md)
- [init(identifier:)](phase/phasecontainernodedefinition/init(identifier:).md)
- [new()](phase/phasecontainernodedefinition/new().md)

### Adding Descendent Nodes

- [addSubtree(_:)](phase/phasecontainernodedefinition/addsubtree(_:).md)

## Relationships

### Inherits From

- [PHASESoundEventNodeDefinition](phase/phasesoundeventnodedefinition.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Control Nodes

- [PHASESwitchNodeDefinition](phase/phaseswitchnodedefinition.md)
- [PHASERandomNodeDefinition](phase/phaserandomnodedefinition.md)
- [PHASEBlendNodeDefinition](phase/phaseblendnodedefinition.md)
