Touch Bar - send action only when touch is released

Hi, is it possible to make action to be send to application only when I release my finger from the Touch Bar button?

I want to touch button and only when it is up to have the action start working.

Thanks