line.set_x2

Moves the second point to x.

line.set_x2(id: line, x: int/float)

Parameters

Example

l.set_x2(bar_index)