As others have said, action is best. To get it to play nicely with holding the button for a higher jump, I’ve found this works well:
The select float at the end is just for when the character grabs a jump power up. If you only need one jump height, just feed it a single <1 gravity scale value. I find it’s a lot smoother to scale gravity than having a crazy jump velocity.
Also, somewhere in begin play, bind the apex notify like so:
This way gravity resets at top of jump, regardless of button state.