How do I make the player shoot every time I click?

How do I make the player shoot every time I click? I am really stuck on that.
Can somebody please help me with the shooting thing? :grinning:

You’ll need a bullet object that is movable, then go into your player’s behaviors then use a mouse click and set the Capture Clicks Anywhere box on, then get an emitter from components and drag a wire from the mouse click’s down output into the emitter’s emit input, and make the the emit force to about 10 or what ever number you want.

Thanks! The game I’m working on is this game:

It’s still under construction.

Wow, It works! Thanks!

1 Like

Alright! Well if you ever need any help just “@” me.

hi i was wondering if you could help me

i want to make it shoot when i pick up a gun

Hey, welcome to the community! If you have any questions, please create your own topic.

1 Like

To make it work only when you have the gun use on/off switches. Also you should probably make your own thing if you have a question.