How would I make the player jump mid-air inside a block that has CanCollide true?

I just found out how to do it, by using body velocity.