fly
From SmartBots Developers Docs
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);
- fly