How do you reset a Line Renderer?

I am trying to reset a Line Renderer to 0, 0, 0 on both Element 0 and Element 1. Is this possible? Or do you have to do some sort of Reset function or perhaps is there an Update function? This must be in C# thanks.

I’m trying to do something like this:

gameObject.GetComponent<LineRenderer>(RenderSettings, SubElement(Vector3.Element 1(0, 0, 0)));

If I understand your question correctly - this will set both of the points to (0, 0, 0)

LineRenderer lineRenderer = gameObject.GetComponent<LineRenderer>();
lineRenderer.SetPosition(0, Vector3.zero);
lineRenderer.SetPosition(1, Vector3.zero);