How to shoot to where your character is rotating automatically

I’m creating a video game with top-down view.
It is for mobile, with the left thumbstick I move the character, and with the right I have to rotate.
The problem is that wherever I rotate, I want it to fire simultaneously.
For example I want to be able to move with the left thumstick up and with the right aim and shoot down, all with the same thumbstick.
I do not know how to do this, if I put the sequence to shoot behind the rotation, infinite bullets come non-stop.

For example in the last photo.
I want it to be moving the right stick as in the photo, shoot in the direction that I’m moving it.

You will need to check if the Axis Values of the X & Y Input is greater than a certain value to begin shooting. I believe the Input will be always returning 0 still, even when not touched?