def METHOD_NAME(event):
    if event.button == 1 and event.is_dragging:
        axis.transform.reset()
        axis.transform.rotate(cam2.roll, (0, 0, 1))
        axis.transform.rotate(cam2.elevation, (1, 0, 0))
        axis.transform.rotate(cam2.azimuth, (0, 1, 0))
        axis.transform.scale((50, 50, 0.001))
        axis.transform.translate((50., 50.))
        axis.update()