how do you make your charicters fly

plz help me im trying to make a game but i don know how to make my characters fly plz hep

[Please leave a link to the game]

how do you want to fly? and what kind of game is it?

well in my last level i want to make him fly threw a passage way but ive tried everything

i want to fly to a secret passageway so you can save yourself from dying

Try something like this: (space is NOT repeating)