In this video by BadGameDev he has his tool rotate around him towards the mouse but I don't know how I would do that. I realize that he didn't use construct to make it but I was wondering if you could do that or something similar in it.
On Every Tick .. Gun Set position to Player position .. Gun Set angle toward position (Mouse.x, Mouse.y) .. Gun Move Forward 50 pixels
Develop games in your browser. Powerful, performant & highly capable.
You can also set it with math using:
Every Tick -
Set Gun.X to player.X+cos(angle(player.x,player.x,mouse.x,mouse.y))*50
Set Gun.Y to player.Y+sin(angle(player.x,player.x,mouse.x,mouse.y))*50
Set Gun.Angle to angle(player.x,player.x,mouse.x,mouse.y)