# 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)


---

# 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/ovrlinerenderer.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.
