How to prevent users from firing weapons really fast? I made a weapon that shoots projectiles in blender. Whenever the user holds down the fire button, the weapon shoots projectiles at the rate I want it to shoot. However, when the user hits the fire button rapidly, they can shoot as many projectiles as they want depending on how fast they press it.

How can I make the gun shoot at the same rate, regardless of wether the user spams the fire button or not.
This method explains how to achieve this result using only logic bricks.


First enable TRUE level triggering.
Then assign the number of ticks it requires before proceeding to the next action.


This should easily work in your case.