Move with ← →, jump with Z, and dash with X while holding an arrow key to dash in that direction. Touching the ground or a dash orb restores your dash.