How do I neutralize z axis movement before a double jump?

Hi, i’m using this blueprint for a double jump.

The only thing I haven’t figured out is how to stop movement in the z axis so the second jump feels like you are jumping from a platform.

Any help is greatly appreciated!

Not sure what the point but try to place velocity Z to 0.

I needed to check “ZOverride” to replace z velocity instead of adding to it