Pendulum physics. Try balancing it on your mouse.
Credit to @bitmap_caketin for the circle limitation thingy-thing in their project: https://scratch.mit.edu/projects/1385281816 The rest of the code is all by me.