Any way to make modifier keys hold to activate?

Ok so I have a mouse with two side buttons and I am trying to make it so that one of the side buttons is the command function. I want to be able to hold the button to access the command function, then when I release it the command function disengages just like a normal button press. As of no I have to press the button once to activate command, then press it again to deactivate command. Any help would be greatly appreciated.

Set up two actions. 1. Mouse button pressed = modifier pressed and 2. mouse button released = modifier released. You can find this just below "Advanced Conditions".

1 Like