How to make the shoot action as a function

I’m asking this because I wanted to see if its possible, can you make the shoot action or “InputAction Shoot” into a function that you can use with a reload system? I’m using the FPS Example that Epic made so if anybody knows please tell me how. If there isn’t please let me know, but it would be great if there is a way.

Nevermind I figured it out after banging my head against the wall, for anybody who is starting out. You can’t but you can grab everything except the actual “InputAction Shoot” and create a new function and place it there and for a reload system just set Is Reloading to true and add the delay after it. Then at the shoot event, branch and is reloading is the condition and put shoot gun(function) as false.

Images for example below