Flying in the Kingdom Hearts series works a bit differently depending on the game. In the original Kingdom Hearts, you can earn and equip a special ability called Glide, sometimes upgraded to Super-Glide, which you assign to your shared abilities. In Kingdom Hearts 2, you'll first need to unlock the Final Form. Once you're in Final Form, jump with the circle button and then hold square to glide through the air.