Spawning an 2d (flipbook) projectile

I tried out the gate node. It works, it even stops the animation if key is released which is nice.

However if i press the key just one time a bullet is also spawned, this is an issue because my gun animation takes 1,3 secs for my charachter to raise his gun ready to fire. So a bullet just flies while my character stands there.

Also the solution you suggested did not work i tried both Get Control Location and Get actor Location, but when linked to Make Transform there won’t spawn a bullet. I attached my blueprints.


Maybe it has something to do with my character rotation.
I use two different animation for left and right and use a bool variable to check is character is facing left or right.