# Stack

> A composition that starts all its children together.

Symbols in this group are spelled `otio_stack_…`. An SDK drops that prefix.

## `new`

`otio_stack_new` · constructor

Creates a stack.

```c
OtioStatus otio_stack_new(
    OtioDocument *target,
    const char *name,
    OtioNode *out_node,
    OtioBuffer *out_error);
```

| Parameter | Type | Role |
| --- | --- | --- |
| `target` | `document` | document mut |
| `name` (optional) | `text` | input |
| `out_node` | `node` | output |
| `out_error` | `text` | error |

---

Page: https://otio-rust-docs.vercel.app/reference/stack/
