Hey, I'm new to Construct and to this Forum. I'm trying to work on a game, and so far, have been able to code everything I wanted without too much error, in general they are the beginnings of my game, very basic. Now I'm trying to make a weapons system similar to most shooters, where you switch between weapons by pressing 1 2 and 3, as well as any other numbers.
Now I have a problem though, I cannot get a way to make it so when you press 1, a new weapon will come up and you can fire it with the left click, and when you press 2 it'll fire a different gun. I don't know how to do it correctly, or how to ensure it's optimized.
Thank you for the help in advance.