“cmd.mouse” cycles through the mouse modes defined in the current mouse configuration ring.
def mouse(action=None, quiet=1):
mouse | api