# Object Menu

{% hint style="success" %}
Right-click on an object to invoke the context menu for objects.&#x20;
{% endhint %}

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2F5r26epL02SQn1nNDdJcl%2Fimage.png?alt=media&#x26;token=f7735f0b-c4bf-451a-93b2-4eb9c2e2e32e" alt=""><figcaption></figcaption></figure>

## Enabled

The first item at the top of the menu is a toggle switch to activate or deactivate the game object. The name of the primary object selected is displayed, however changes are applied to all objects selected.

## Precompose

This converts the selected object(s) into a precomp, which places the objects inside a new Timeflow child. Precomposing is a way of grouping animations together in their own individual Timeflow instance. Precomps may also be made into prefabs and used across multiple scenes.&#x20;

## Add New Precomp

This inserts a new Timeflow game object as a child of the currently active Timeflow.&#x20;

For more information see [precomposing](https://axongenesis.gitbook.io/timeflow/reference/precomposing "mention") and [prefabs](https://axongenesis.gitbook.io/timeflow/reference/prefabs "mention")

## Sort Alphabetically

This sorts objects and channels alphabetically by name. It applies to all selected, or if nothing is selected then it applies to all displayed.

## Object Submenu

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2Fyf5Yb3ygAqlo9Aa5k9zT%2Fimage.png?alt=media&#x26;token=75fbe310-b301-4969-bf8c-fabf72efa455" alt=""><figcaption></figcaption></figure>

### Hide Children

Toggles the display of children on the object. If already hidden, the menu reads Show Children.

{% hint style="success" %}
This is the same as holding **Control** when clicking the foldout arrow next to the object name. Objects are not hidden in the hierarchy view.
{% endhint %}

### Sort Children

This sorts the children of the selected game objects by name in ascending order. This can be helpful to organize child lists. Objects can also be manually reordered if needed by dragging and dropping them in the [Object Panel](https://axongenesis.gitbook.io/timeflow/user-guide/timeflow-view/object-panel).

### New Child Object

This adds a new game object as a child of the currently selected object.

{% hint style="success" %}
Use the keyboard shortcut **Alt + Shift + N** to add a new child object.&#x20;
{% endhint %}

{% hint style="warning" %}
If multiple objects are selected when adding a child, only 1 new game object is created, parented under the primary object selected.
{% endhint %}

### New Game Object

This adds a new game object to the scene, appending to the view. The object is automatically setup with TimeflowObject and is ready to animate.

{% hint style="info" %}
Use the keyboard shortcut **Control + Shift + N** to add a new game object.
{% endhint %}

### Group Selected

This creates a new parent game object, making the currently selected objects its children. The parent position and rotation is matched to the selected objects, while the objects retain their local scale.

{% hint style="success" %}
Use the keyboard shortcut **Control + Alt + G** to group selected objects. Note that this might conflict with other keyboard mappings of other 3rd party tools, in which case you can decide which you prefer using the [Shortcuts Manager](https://docs.unity3d.com/Manual/ShortcutsManager.html) in Unity.
{% endhint %}

### Ungroup

This unparents the children of the selected objects. No objects are destroyed in this operation.

{% hint style="success" %}
Use the keyboard shortcut **Control + Alt + Shift + G** to ungroup the selected objects.
{% endhint %}

### Set as First/Last Sibling

This moves the selected object in its local hierarchy to either be the first child, or last child.

### Reset Tracks

Resets the tracks on all selected objects back to [Auto Full Length](https://axongenesis.gitbook.io/timeflow/timeflow-view/tracks#auto-full-length) and locked.

### Join Adjacent Tracks

Use this command to merge track sections whose ends touch or are within time tolerance.

### Remove From View

Removes the selected objects from the current display list.&#x20;

{% hint style="info" %}
Only affects the object display and doesn't otherwise modify or destroy objects. &#x20;
{% endhint %}

### Destroy All Timeflow Behaviors

This fully removes all Timeflow related components from the selected game objects. This can be used to strip away Timeflow animation, but leave other components intact. &#x20;

This is also accessible from the [Game Object menu](https://axongenesis.gitbook.io/timeflow/user-guide/menus-and-shortcuts/game-objects-menu).

### Delete Game Objects

Select this command to delete the selected game objects.
