function result = wb_mouse_get_state() % Usage: wb_mouse_get_state() % Matlab API for Webots % Online documentation is available here obj = calllib('libController', 'wb_mouse_get_state_pointer'); result = obj.Value;