How do i make a sprite circle around another using the mouse?

I would like to create a sprite that circles around another sprite, with its movement influenced by the mouse position. The desired effect is similar to that of a rotating spiked ball (similar to this example: Instead of the sprite rotating on its own tho it should change its rotation direction with that of the mouse cursor. I hope this clarifies my idea. :sweat_smile:

I think this might help. (ignore top event)


This will put the circle around the RED object. Having the origin points at the center of each object should help with positioning too.

1 Like

Exactly as i imagined it thanks a lot <33333

Do you know how id make the weapons barrel always point to the cursor?