The device has sensors that monitor the ball compartment. If something gets close or goes inside, it stops for safety. It starts rotating again after a safe time has passed.