# Virtual Output

Instruct RouteEffect to the source of a virtual output for the selected video router.

| Message                         | Description                             | Arguments                            |
| ------------------------------- | --------------------------------------- | ------------------------------------ |
| `/routeeffect/virtualOutput/ID` | Set a virtual output on a video router. | Virtual output name and source index |

Where `ID` is the unique identifier for your video router in RouteEffect.

| Argument            | Type    | Description                          |
| ------------------- | ------- | ------------------------------------ |
| Virtual output name | String  | The exact name of the virtual output |
| Source index        | Integer | Zero-based index of input source     |

{% hint style="danger" %}
If there are multiple virtual outputs with the same name, nothing will happen. Make sure your virtual outputs are uniquely named.
{% endhint %}

{% hint style="danger" %}
Remember that OSC messages use a zero-based index for determining the output and input ids.
{% endhint %}
