How can I make a character fly when holding down the jump button in paper 2D

Like a flying or hovering command in paper 2d