How to trigger something when I am not collided with anything.

Hello, I am making a game where you have to jump in certain parts, I have a click and space register as a jump, but you can press space then click to get more vertical hight, how do I stop this, I am not too familiar with many of the logic components as I have not used them.
Here is a link to my game: https://flowlab.io/game/play/1079053

Try using a RayCast block to check if you’re sitting on a block before allowing the jump.