A super simple way to implement accurate swinging physics in your games Drag the mouse around to swing the ball. Mode 1 is pendulum physics where the ball stays a set distance from the mouse at all times Mode 2 is string physics, so the ball can come closer than the length of the string, but not further I used this same technique to make this grappling hook puzzle game: https://scratch.mit.edu/projects/753106134/ And this game about fishing: https://scratch.mit.edu/projects/791433170/ Feel free to use this code in your own projects!