Move your mouse close to the ball. The closer your mouse is, the stronger the pull is.
It was made with a "distance" variable, and uses the "distance to" block. I might make a maze game with this or something, then abandon it about a month later. But the future in uncertain, so there is a chance that I won't.