> For the complete documentation index, see [llms.txt](https://axongenesis.gitbook.io/timeflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://axongenesis.gitbook.io/timeflow/user-guide/menus-and-shortcuts/timeflow-menu/composition.md).

# Composition

Commands for precomps and prefabs

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FGGc70KzPW9zofR73Jr6R%2Fimage.png?alt=media&amp;token=b8b28ac5-23b6-4b6d-b78f-a96b06a85a63" alt=""><figcaption></figcaption></figure>

## Add New Timeflow

This adds a new Timeflow instance to the scene. Rather than being a precomp, this will add a Timeflow at the root level creating a separate animation timeline.

## Precompose or Add Precomp

This command adds a new child Timeflow instance. If any objects are selected, they are grouped into a new Timeflow precomp. Or if a Timeflow instance or precomp is selected, then a new Timeflow precomp is added as a child.

## Decompose

This converts a selected Timeflow precomp into a regular TimeflowObject. This can be used to simplify the scene by removing Timeflow instances if they are not needed.

{% hint style="warning" %}
Timeflow instances and precomps should only be used when needed since having lots of precomps can potentially bloat scenes and affect performance.
{% endhint %}

## Enter/Exit Prefab-Precomp Mode

When working with prefabs or precomps, use these commands to open and close the prefab/precomp for editing. When editing a precomp or prefab, the Timeflow view displays it in isolation from the rest of the scene.

For more information see [Precomposing](/timeflow/reference/precomposing.md)

## Save Selected Prefabs

This saves the selected game objects in the scene as a prefab in the project. If a prefab has not yet been created, then a new one is generated in Assets/Prefabs/ with the same name of the selected object.&#x20;

{% hint style="success" %}
Use the keyboard shortcut Control + Alt + Shift + S to save the selected prefabs. If multiple objects are selected, each one is saved as a separate prefab.
{% endhint %}

{% hint style="info" %}
If the objects selected are already prefabs, then using this command saves and applies all changes (overrides) to the prefab.
{% endhint %}

{% hint style="info" %}
After prefabs have been created, they can be renamed and moved as desired and the scene instances will retain their connection.
{% endhint %}

{% hint style="info" %}
To break a prefab link and turn it back into a normal game object, right-click on the object and select Prefab/Unpack Completely.
{% endhint %}

For more information, see [Prefabs](/timeflow/reference/prefabs.md)
