I want to make a 2d shooter with up-down aiming,and I don't want the player to be able to rotate the weapon with 360 degrees. I hope I explained it clearly enough.
Develop games in your browser. Powerful, performant & highly capable.
What behavior are you using on the sprite? Try disabling "Set angle" in behavior settings. If this doesn't help, please post your project file.