I think this code will not work anymore with your drone version 😞 The go_to_height() function uses a sensor on the more recent versions of CoDrone.
As of September 2021, we have moved technical support to Robolink Help
Welcome to the Robolink Community forum!
You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.