Can't hold UI button

Hey there,
I’ve made a button


This is for my game. I connected it to a event that was binded to my left shift via a custom event. It basically runs an environment query and finds a point available for swing but the button in the UI doesn’t helds for long. In middle of the swing it automatically executes “On Released”. PlZ help