Rotate sprite around other sprite using dragging and radio

Here is one way to do it.

orbit.aia (2.3 KB)

Get the angle when the ball is moved, then set the position of the ball from the angle, taking into account the x/y positioning of a canvas.