> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/toolbox/incari/media/setmedialoop.md).

# Set Media Loop

## Overview

![The Set Media Loop Node.](/files/x5LSfEfUxr6CliQU2dck)

The **Set Media Loop Node** sets the `Loop` **Bool** for a **Media Object** to either *true* or *false*. *True* means that the **Media** restarts when it finishes, *false* means that it doesn’t.

[**Scope**](/incari-studio/toolbox/overview.md#scopes): **Scene**, **Function**, **Prefab**.

## Attributes

![The Set Media Loop Node Attributes.](/files/PFMAkAITV9g4J0zlA76i)

| Attribute | Type     | Description                                                                                                                                                                                                                                                         |
| --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Loop`    | **Bool** | The **Bool** that sets the **Media Object** to loop or not, if nothing is provided in the **Input Socket**. When toggled on, the **Media Object** will be set to restart when it finishes. When toggled off, the **Media Object** will be set to finish at its end. |

## Inputs

| Input             | Type         | Description                                                           |
| ----------------- | ------------ | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Object ID`       | **ObjectID** | The **Media Object** for which the `Loop` **Bool** will be set.       |
| `Loop`            | **Bool**     | Sets `Loop` to *true* or *false*.                                     |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |

## See Also

* [**Get Media Loop**](/incari-studio/toolbox/incari/media/getmedialoop.md)
