# Switches

{% embed url="<https://youtu.be/jOmtejAa09I>" %}

To the left of the Object Panel are control switches to lock, hide, deactivate, and filter objects and channels in the view. Switches can be toggled on and off for specific items by clicking the icons on the left. In most cases, children and channels are affected by the parent object state.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FVmKhv4qcRJBpdTDEKlB8%2Fimage.png?alt=media&#x26;token=93439d7e-478c-40a1-b575-1972e8957bcc" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Button Painting**

Switches can be "painted" by clicking and dragging up or down the column to set the state of multiple objects at once.&#x20;
{% endhint %}

## Display Filters

The icons at the top of the column are used to show and hide items in the display based on their state. This is useful for isolating objects and channels to work on while hiding others temporarily. Each filter switch is explained further in the related sections below.&#x20;

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2Fy13Ti8I12gPmiE0uF3S2%2Fimage.png?alt=media&#x26;token=5ce8de49-5486-47e6-ba2c-d422c6b68b2d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Whenever a display filter is enabled, a red line is drawn under it to indicate that some items may be hidden from view.&#x20;
{% endhint %}

{% hint style="warning" %}
Any objects or channels not actively displayed in the view are automatically deselected to prevent accidental changes to hidden items.
{% endhint %}

### <img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2F9xrwPwSWHbepo9JDWc1D%2Fimage.png?alt=media&#x26;token=b795da06-808c-4a51-b4b5-a59b692be8c5" alt="" data-size="original"> Lock

Objects and individual channels may be locked to prevent selection and changes in the view. Toggle lock on and off by clicking the lock icon next to each item.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FEQKE3gmSZEcaeksVRPi2%2Fimage.png?alt=media&#x26;token=e9a0129f-929c-4c74-8a74-e3119c2928d2" alt=""><figcaption><p>Locked items are slightly dimmed and cannot be selected or modified while locked.</p></figcaption></figure>

{% hint style="info" %}
When an item is locked, its visibility and enable switches are also locked, however the channel display option remains available to show and hide channels as needed.&#x20;
{% endhint %}

{% hint style="warning" %}
Locking items in the Timeflow view has no effect on the Hierarchy view nor does it affect the object's behavior. The lock state is only used in the editor for the Timeflow view.
{% endhint %}

### Unlocked Filter

When the filter is active, only *unlocked* objects are displayed in the object panel. All locked items are hidden from view. Since locked objects and channels cannot be selected nor edited in any case, this is a quick way to hide them from view to focus on the objects that can be edited.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FSptzDt4U8tkQIACptuLH%2Fimage.png?alt=media&#x26;token=c9bdafe8-a38d-43ea-ac83-d8fe0ba7a1ee" alt=""><figcaption><p>Showing unlocked items only</p></figcaption></figure>

{% hint style="success" %}
**Shift** + click on the lock icon to show *locked* items only. This inverts the filter, hiding all unlocked items from view.
{% endhint %}

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FroSH5EHuTneSl7eGBW0u%2Fimage.png?alt=media&#x26;token=5ada53b6-e446-4682-b866-af61c4445141" alt=""><figcaption><p>Show locked items only</p></figcaption></figure>

{% hint style="success" %}
**Control** + click on the lock icon to toggle the lock on all objects and channels in the view. This is a quick way to lock or unlock all items currently displayed.
{% endhint %}

### <img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FL2rlAOVzKo6txFj7AYVo%2Fimage.png?alt=media&#x26;token=c0f0a823-1885-4099-9a62-dcf139e4dad6" alt="" data-size="original"> Visibility

Click the eye icon next to an object to toggle its active state (GameObject.activeSelf). When an object is turned off, it is fully deactivated including all behaviors on the object. &#x20;

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FA1O7YusS8K4e3uVRwACt%2Fimage.png?alt=media&#x26;token=4b18c2d7-c19c-41c8-a259-991a4253db2b" alt=""><figcaption><p>Note that an object's visibility state is controlled by its track if <a href="../tracks#track-visibility">Activate </a>mode is used.</p></figcaption></figure>

### Visibility Filter

When this filter is on, only game objects that are currently active are displayed. All deactivated game objects are hidden from view.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FASdTJokGR2mUTd0nSIZN%2Fimage.png?alt=media&#x26;token=ab1c6b52-d18d-4958-a530-c5ee12bf5273" alt=""><figcaption><p>Displaying visible (active) items only</p></figcaption></figure>

{% hint style="success" %}
**Control** + click on the Visibility Filter to set visibility on or off for all displayed game objects. This is a useful tool to bulk activate or deactivate all items displayed.&#x20;
{% endhint %}

### Make Visible in Graph

Channels have a small curve icon that controls whether the animation curve is displayed in the track view and graph view (when applicable).

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FTapwGzzOnuCEBJTcOEOT%2Fimage.png?alt=media&#x26;token=b269a2a0-befb-4592-a7e9-315cefc52d89" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Although in the same column, this switch is not related to the object visibility and is unaffected by the visibility filter.
{% endhint %}

{% hint style="success" %}
Hold the **Shift** key while clicking the curve icon to force the channel to display its animation curve in the [Graph View ](https://axongenesis.gitbook.io/timeflow/user-guide/timeflow-view/graph-view)regardless of whether the channel is selected or not. The icon turns red when this mode is active, as shown above. This is helpful to keep certain channels visible in the graph view for reference while working on others.
{% endhint %}

### <img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FinP5Qn1AHxkqhlSRIK0k%2Fimage.png?alt=media&#x26;token=2b477a8b-ebf1-45c0-bbb6-d5d603584572" alt="" data-size="original"> Enabled

This controls the enabled state for Timeflow objects and channels. This can be used to turn on/off specific channels or all behaviors as needed. This does not affect the game object's active state nor visibility, but does determine whether Timeflow behaviors are active.&#x20;

{% hint style="warning" %}
Disabled channels no longer show keyframes or curves, and disabled objects do not show channels at all. No data is lost nor destroyed by disabling or enabling items.
{% endhint %}

{% hint style="success" %}
**Control** + click the enabled filter icon at the top to toggle the enabled state for all items in the display.
{% endhint %}

### Enabled Filter

When this filter is on, it only displays enabled objects and channels, hiding anything disabled.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2F0oJ6ZA3YAMm3lGLibPtG%2Fimage.png?alt=media&#x26;token=c69a1f0a-da84-4216-aa80-92ba7ab89ae5" alt=""><figcaption></figcaption></figure>

### ![](https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2F2IO66iOA8EwumXIkprJ6%2Fimage.png?alt=media\&token=c9f6dd12-77c3-4739-a2b2-0be1764214ce) Display Mode

This offers more flexibility to hide or display channels in the Timeflow view without affecting any other aspects of the objects or behaviors. This improves workflow by offering a quick way to isolate items to work on.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FNQhYmzDsfAOY2Hz26DxV%2Fimage.png?alt=media&#x26;token=66ccb120-e91a-4ba5-9a2e-a485ae02e39b" alt=""><figcaption><p>Shows the Display Mode Filter on, hiding items toggled off.</p></figcaption></figure>

### Viewing All

When the Display Mode Filter is off, all items are displayed normally and shows the display mode state of each channel and object, as shown below.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FtgXxPt9LSa8ZcSQwcwF1%2Fimage.png?alt=media&#x26;token=9afd0770-5c6d-4614-bf3c-6635c414f125" alt=""><figcaption></figcaption></figure>

### <img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FBor5S3C3i4Yt84omlONt%2Fimage.png?alt=media&#x26;token=3a8a2d13-88a8-492e-a6b6-a1b9254d2b0b" alt="" data-size="original"> Display Mode On

This is the default mode and indicates the object display is on.

### <img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FAkoJBwO8Govs6uc6txaG%2Fimage.png?alt=media&#x26;token=6e296e65-1dd5-4270-85b7-878feaf006f7" alt="" data-size="original"> Display Mode Off

This mode marks a channel or object to be hidden from view when the Display Mode Filter is active. This is only a display feature and has no relation to the objects visible or enabled state.

{% hint style="success" %}
**Display / Hide All**\
**Control** + click the icon to toggle the display for all objects and channels. This is helpful to restore all items visible again, or to hide everything at once.
{% endhint %}

### <img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FWeMRZgJXnGkyPMVfMDnL%2Fimage.png?alt=media&#x26;token=bfe45fe4-6780-492b-8360-6a27b8fd7555" alt="" data-size="original"> Display Mode Solo

This is a special display mode to cherry pick specific items to isolate in the view.&#x20;

{% hint style="success" %}
Hold the **Alt** key when clicking on the display mode toggle to activate solo mode for objects or channels.&#x20;
{% endhint %}

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FKbPRH00jZU9Q677ixv7i%2Fimage.png?alt=media&#x26;token=3ea47fbd-4c12-42f0-b5dd-e6954ae2d16e" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Solo Mode**

Hold the Alt key and click on the **Display Mode Filter** toggle at top to activate solo mode This shows only those objects in view marked as solo, hiding all others.
{% endhint %}

### Objects Only (Hide All Channels)

Another special filter mode hides all channels from view while still displaying objects. This can be useful to simplify the view when working with objects and hierarchies.

<figure><img src="https://2067910529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3dOuetlQfYgK5FPUKgn%2Fuploads%2FbTjH3vyyfhB5kImCuBKW%2Fimage.png?alt=media&#x26;token=72b7ef3d-ae6d-4e82-8246-b9f726c6b860" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}

#### Objects Only Mode

**Shift** + click on the **Display Mode Filter** toggle at top to displays objects only.&#x20;
{% endhint %}
