I need help with my weapons System

I’m making a top-down game and I need help making weapons that point towards your cursor

I’m making a top-down game and I need help making weapons that point towards your cursor (ignore this its an accadent)

Is there a link to the game?

ill ad 1 i need to put down some ground 2

https://flowlab.io/game/view/1171525

how do you equip and use the gun?

Make the weapon object and make it point at the cursor with the point at from mouseMove.
In the player, use an attacher to center the weapon with the player sprite.

what about a sword