Play Animation Montage from Beginning at the Press of a Button

I’m trying to make a gun shoot every time I press the trigger on my controller. How can I properly feed the trigger’s input action into restarting the montage?