fly

From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 10:37, 7 December 2023 by Gg (Talk | contribs)

Jump to: navigation, search

Starts or stops flying.

Bot.fly(enableFlying);

Reference

This command accepts the following parameters:

Variable Required Description


Input:
enableFlying yes true to start flying, false to stom
Output:
Function returns a Promise with the following data:
success bool true if command completed successfully
error string error string if command has failed


Examples

Bot.fly(true);