{{about|the form of transportation available in Creative and Spectator modes|the flight attainable when using the elytra|Gliding}}
[[File:Flying preview.png|352x352px|right|frameless]]
'''Flying''' is the most versatile form of [[transportation]] and is available in [[Creative]] and [[Spectator]] mode.

== Controls ==
Flying is not limited by any processes such as [[Hunger|food depletion]], which limits [[sprinting]]. Flying can be [[Controls|toggled by double-tapping the "jump" key]] while playing in creative mode (or when the "May fly" permission has been given to the player {{Only|Bedrock|Education}}) and can be activated at any [[altitude]]. The player can gain or lose altitude while flying by pressing the {{control|jump}} or {{control|sneak}} keys, respectively. Holding {{control|sprint}} allows the player to move faster while flying. In Creative mode, flying is automatically disabled if the player lowers onto a surface while in the air. {{Only|Java}} In Spectator mode, flying cannot be disabled because players can fly through all blocks. Flying increases the player's field of view by 10%; it is increased further when holding {{control|sprint}}.
(This may have to be attempted several times before it works.)

== Speed ==
Flying makes the [[player]] move at around 10.92 meters/second (39.312&nbsp;km/h), which is approximately 250% of the normal walking speed, being 4.36 meters/second (15.724&nbsp;km/h). This is increased further when holding the {{control|sprint}} key to 21.6 meters/second (77.76&nbsp;km/h). When flying, friction is reduced to a level equivalent to when on [[ice]].{{Only|Java}} A player flying in [[fluid]]s or [[cobweb]]s neither sinks nor slows down. The [[Speed]] effect does not increase flying speed.<ref>{{bug|MCPE-61425}}</ref>
In the Spectator mode, scrolling up on the scroll wheel increases speed while scrolling down decreases it.{{only|je}} Players that stop flying drift a few blocks in the air.{{only|je}} Also, players automatically stop flying if they touch any surface.{{only|je}}

== Video ==
<div style="text-align:center">{{yt|ogdysuO2xSo}}</div>

== History ==
{{HistoryTable
|{{HistoryLine|java beta}}
|{{HistoryLine||1.8|dev=Pre-release|Added flying for players in [[Creative]] mode.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.3.1|dev=12w17a|The player no longer experiences the decrease in speed seen in [[Survival]] mode when traveling through [[fluids]].}}
|{{HistoryLine||1.8|dev=?|Players can now [[sprint]] while flying.}}
|{{HistoryLine|||dev=14w05a|[[Spectator]] mode introduced, in which players are always flying.
|Players in Spectator can change their flight speed by scrolling with the mouse wheel.}}

|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.2.0|Added flying.}}
|{{HistoryLine||v0.7.2|Increased friction when flying on Android devices. Players that stop flying come to a full stop after ~1 second instead of ~4 seconds.}}
|{{HistoryLine||v0.7.3|Increased friction when flying on iOS devices.}}
|{{HistoryLine||v0.8.0|dev=build 1|The game now saves whether or not the player was flying upon exiting a world.
|The player's ability to fly is now controllable independently of the game mode and can be enabled/disabled with external editing.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||?|Players with {{cmd|/ability}} <code>mayfly</code> set to true can fly on any gamemode.}}

|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU5|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added flying, with [[Creative]] mode}}

|{{HistoryLine|new3ds}}
|{{HistoryLine||0.1.0|Added flying, with [[Creative]] mode}}
}}

== Issues ==
{{issue list}}

== Trivia ==
* The player can also sneak while flying by holding {{control|jump}} and {{control|sneak}} simultaneously during flight.
* If the player flies high enough in Creative mode, the [[sun]] or the [[moon]] can be seen through the fog when looking down, depending on which is below the horizon at the time; the player can also see the clouds at this time.
* A player who gets into a [[bed]] or starts riding an [[entity]] (e.g. [[minecart]] and [[horse]]) while flying resumes flying when leaving the bed or dismounting the entity.

== Gallery ==
=== Screenshots ===
<gallery>
Notch Flying.png|The first image of flying in Creative mode.
Fly 2.0.png|The walking animation is used while moving in flight in Creative mode.
</gallery>

== See also ==
* [[Sprinting]]
* [[Sneaking]]
* [[Blocking]]
* [[Tutorials/Flying machines]]

== References ==
{{Reflist}}
== Navigation ==
{{Navbox gameplay}}

[[Category:Rewritten gameplay]]
[[Category:Transport]]

[[es:Volar]]
[[fr:Vol]]
[[ja:飛行]]
[[ko:비행]]
[[nl:Vliegen]]
[[pt:Voar]]
[[ru:Полёт]]
[[uk:Політ]]
[[zh:飞行]]
