added variable USE_MOUSE_SENSOR