> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrlinerenderer.md).

# OvrLineRenderer

### Description

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

It requires a LineRenderer to be set up. See the [Unity Manual](https://docs.unity3d.com/Manual/class-LineRenderer.html) for more info.

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

### Action Types

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

#### Set Position

Allows the user to set the position of a vertex in the line. The vertex is specified by an index and an OvrVector3 position.

{% 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>LineRenderer</td><td><a href="https://docs.unity3d.com/ScriptReference/LineRenderer.html">LineRenderer</a></td><td>Unity LineRenderer Component</td></tr><tr><td>ActionType</td><td><a href="/pages/AM5K5cldahED57CiHVrg">OvrLineRendererActionType</a></td><td>Action type [<a href="/pages/AM5K5cldahED57CiHVrg">SetPosition</a>]</td></tr><tr><td>Index</td><td><a href="/pages/3j57sIQWIHtYDfVyTr0d">OvrInt</a></td><td>Vertex index</td></tr><tr><td>Position</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>Position of the vertex to set</td></tr></tbody></table>

![Example of OvrLineRenderer.](/files/P79TuA52cUEoI4jjG9jG)

#### 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>LineRenderer</td><td><a href="https://docs.unity3d.com/ScriptReference/LineRenderer.html">LineRenderer</a></td><td>Unity LineRenderer Component</td></tr><tr><td>ActionType</td><td><a href="/pages/AM5K5cldahED57CiHVrg">OvrLineRendererActionType</a></td><td>Action type [<a href="/pages/AM5K5cldahED57CiHVrg">UnityAction</a>]</td></tr><tr><td>UnityAction</td><td>UnityAction</td><td>UnityAction to be invoked</td></tr></tbody></table>

![](/files/2KramBHGomm7gTGGY6Vs)
