# OvrLight

### Description

This Node is used to manage the most common interactions with the Unity [Light](https://docs.unity3d.com/ScriptReference/Light.html) Component.

This OVER Component requires a Light to be set up. See the [Unity Manual](https://docs.unity3d.com/Manual/LightingOverview.html) for more info.

Based on the action the Light is required to perform, this component changes its behavior and requirements.

### Action Types

The OVER SDK provides several ways to interact with Unity Light Component. A list can be found in [OvrLightActionType](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrlight/ovrlightactiontype.md).

#### Change Light Color

Allows the user to change Light color when executed.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="187.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>LightObject</td><td><a href="https://docs.unity3d.com/ScriptReference/Light.html">Light</a></td><td>Unity Light Component</td></tr><tr><td>ActionType</td><td><a href="/pages/TzvQviKTd5B7hn7BB9dA">OvrLightActionType</a></td><td>Action type [<a href="/pages/TzvQviKTd5B7hn7BB9dA">ChangeLightColor</a>]</td></tr><tr><td>LightColor</td><td>Color</td><td>New light color to set</td></tr></tbody></table>

![Example of OvrLight, setting color to green.](/files/9f6W0LmiPgm8PhWr8DBN)

#### Unity Action

Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="182.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>LightObject</td><td><a href="https://docs.unity3d.com/ScriptReference/Light.html">Light</a></td><td>Unity Light Component</td></tr><tr><td>ActionType</td><td><a href="/pages/TzvQviKTd5B7hn7BB9dA">OvrLightActionType</a></td><td>Action type [<a href="/pages/TzvQviKTd5B7hn7BB9dA">UnityAction</a>]</td></tr><tr><td>UnityAction</td><td>UnityAction</td><td>UnityAction to be invoked</td></tr></tbody></table>

![](/files/QpXeWcDAc55IBS9TOeVS)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrlight.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
