(self, enable)
Starts/ends the camera panning action along the horizontal plane.

    Args:
      enable: A boolean flag, True to start the action, False to end it.
Starts/ends the camera panning action along the horizontal plane.
Starts / ends the camera panning action along the horizontal plane .
def set_pan_horizontal_mode(self, enable):
    """Starts/ends the camera panning action along the horizontal plane.

    Args:
      enable: A boolean flag, True to start the action, False to end it.
    """
    if self._active:
      if enable:
        self._action.begin(enums.mjtMouse.mjMOUSE_MOVE_H)
      else:
        self._action.end(enums.mjtMouse.mjMOUSE_MOVE_H)
def set_pan_horizontal_mode ( self , enable ) : if self . _active : if enable : self . _action . begin ( enums . mjtMouse . mjMOUSE_MOVE_H ) else : self . _action . end ( enums . mjtMouse . mjMOUSE_MOVE_H )