Here's how this works on my 2016 F57:
Push and hold the unlock button: The top will open to the sunroof position after a 1 to 2 second delay. It will stop at any time if you release the button. This will happen at whatever distance away from the car the remote will connect at - up to about 5 to 6 meters.
Once the sunroof has been opened all the way: Release the unlock button, then press again and hold. The roof will fold down all the way, assuming you hold the button for the entire process. Distance is key for this to work. I have to be within 1 to 2 meters of the car for this to activate. Any farther, and nothing will happen until I move into this range.
To close, be within that 1 to 2 meter range, and press and hold the lock button. The roof and windows will close the entire way as long as you hold the key.
![](https://i.ytimg.com/vi/9IHeAmESYa0/maxresdefault.jpg)