A mobile terminal comprising: a touchscreen configured to receive a touch input; a wireless communication unit configured to perform wireless communication with an unmanned aerial vehicle having a camera to capture an external environment during flight; a sensing unit configured to sense a posture and movement of the mobile terminal; and a controller configured to: set a flight path containing a plurality of index locations (521a, 521b, 521c) displayed on the touchscreen for flying the unmanned aerial vehicle in an automatic control mode, select an index location among the plurality of index locations (521a, 521b, 521c) in response to a touch applied to the index location, display, on the touchscreen, a plurality of capture mode icons corresponding to a plurality of capture modes respectively when the index location is selected, select a capture mode icon among the plurality of capture mode icons for capturing the index location, and associate a capture mode corresponding to the selected capture mode icon with the index location such that a flight control command and a capture control command are formed based on the set capture mode when the unmanned aerial vehicle arrives at the index location, wherein the plurality of capture modes include a plurality of capture schemes to capture a capture target object by the camera of the unmanned aerial vehicle, and the plurality of index locations (521a, 521b, 521c) are set with a different capture mode respectively. a touchscreen configured to receive a touch input; a wireless communication unit configured to perform wireless communication with an unmanned aerial vehicle having a camera to capture an external environment during flight; a sensing unit configured to sense a posture and movement of the mobile terminal; and a controller configured to: set a flight path containing a plurality of index locations (521a, 521b, 521c) displayed on the touchscreen for flying the unmanned aerial vehicle in an automatic control mode, select an index location among the plurality of index locations (521a, 521b, 521c) in response to a touch applied to the index location, display, on the touchscreen, a plurality of capture mode icons corresponding to a plurality of capture modes respectively when the index location is selected, select a capture mode icon among the plurality of capture mode icons for capturing the index location, and associate a capture mode corresponding to the selected capture mode icon with the index location such that a flight control command and a capture control command are formed based on the set capture mode when the unmanned aerial vehicle arrives at the index location, wherein the plurality of capture modes include a plurality of capture schemes to capture a capture target object by the camera of the unmanned aerial vehicle, and the plurality of index locations (521a, 521b, 521c) are set with a different capture mode respectively. set a flight path containing a plurality of index locations (521a, 521b, 521c) displayed on the touchscreen for flying the unmanned aerial vehicle in an automatic control mode, select an index location among the plurality of index locations (521a, 521b, 521c) in response to a touch applied to the index location, display, on the touchscreen, a plurality of capture mode icons corresponding to a plurality of capture modes respectively when the index location is selected, select a capture mode icon among the plurality of capture mode icons for capturing the index location, and associate a capture mode corresponding to the selected capture mode icon with the index location such that a flight control command and a capture control command are formed based on the set capture mode when the unmanned aerial vehicle arrives at the index location, wherein the plurality of capture modes include a plurality of capture schemes to capture a capture target object by the camera of the unmanned aerial vehicle, and the plurality of index locations (521a, 521b, 521c) are set with a different capture mode respectively.