- Plotter.track_click_position(callback=None, side='right', viewport=False)¶
Keep track of the click position.
By default, it only tracks right clicks.
A callable method that will use the click position. Passes the click position as a length two tuple.
The side of the mouse for the button to track (left or right). Default is left. Also accepts
True, uses the normalized viewport coordinate system (values between 0.0 and 1.0 and support for HiDPI) when passing the click position to the callback.