Fire Bullets Problem

Hi all,
I'm sure this is pretty obvious to everyone else,but I have a fire button that I only want to fire one bullet per touch. At the moment I have a boolean
attribute called 'fire' which is set to false and is true when touch is pressed, but when I touch the button it fires bullets for as long as I have the button pressed until I release it.
How can I get it to fire one bullet at a time?
Cheers for any help!
I'm sure this is pretty obvious to everyone else,but I have a fire button that I only want to fire one bullet per touch. At the moment I have a boolean
attribute called 'fire' which is set to false and is true when touch is pressed, but when I touch the button it fires bullets for as long as I have the button pressed until I release it.
How can I get it to fire one bullet at a time?
Cheers for any help!
Comments
Yes that is the rule.
Cheers