(self, enable)
Begins/ends an object translation action along the horizontal plane.

    Args:
      enable: A boolean flag, True begins the action, False ends it.
Begins/ends an object translation action along the horizontal plane.
Begins / ends an object translation action along the horizontal plane .
def set_move_horizontal_mode(self, enable):
    """Begins/ends an object translation action along the horizontal plane.

    Args:
      enable: A boolean flag, True begins the action, False ends it.
    """
    if enable:
      self._action.begin(enums.mjtMouse.mjMOUSE_MOVE_H)
    else:
      self._action.end(enums.mjtMouse.mjMOUSE_MOVE_H)
def set_move_horizontal_mode ( self , enable ) : if enable : self . _action . begin ( enums . mjtMouse . mjMOUSE_MOVE_H ) else : self . _action . end ( enums . mjtMouse . mjMOUSE_MOVE_H )