How to make limited ammo for the twin stick shooter template?

I’m using the twin stick shooter template, and i want to only be able o shoot one time, and then not be able to shoot any longer. Like it’s only got one bullet, how do you do this?

If you only want to be fire once, you can use a DoOnce to do so. In case you need to shoot again, just run the Reset input in the node.