There are total 12 code blocks that you may use. They are described below:
1. Take off and Landing
To give commands for take off and landing you can use-
2. Flying Up and Down
To give commands for drone to fly up and fly down you can use-
3. Flying Left and Right
To give commands for drone to fly left and right you can use-
4. Flying Forward and Backward
To give commands for drone to fly forward and backward you can use-
5. Rotating
To give commands for drone to rotate clockwise and counter clockwise you can use-
6. Miscellaneous
To give commands for drone to flip and set speed of motors you can use-