The drones are incredible gadgets and i love them! You can do so many actions with them such as flips, squares and other mind-blowing things. I am using Parrot on Swift Playgrounds to use the drone. It is amazing!
My Drone Video
You can use a function and a loop to create something like a horizontal square or a vertical one.