box.set_right
Moves the right edge.
box.set_right(id: box, right: int/float)
Parameters
idbox: The box's handle (from box.new); na or a deleted box does nothing.rightint/float: A bar index (bar_index), or a UTC ms time when the drawing uses xloc.bar_time.
Example
bx.set_right(bar_index)