How do I get the mouse input direction from the center of the screen to trigger an event from the released position of the mouse?

I’m guessing you are using widget. Are your input mode set to UI Only?