Constant velocity on/off to my character

Hi there!
I am trying to give my character constant velocity - and to stop immediately as soon as it leaves a certain area.

As of now, I am using OnComponentEndOverlap

And for the movement of the player, I am using:

As it can be seen from this blueprints, I am also using a variable to test if the player can move up and down.

Finally, I am using a Floating Pawn Movement as my movement component for my character

and I’ve tried to keep the maximum velocity very small, and acceleration and deacceleration very high values - to simulate a… on/off constant velocity scenario.

What should I change to obtain this on/off velocity? Thanks!!!