How to drag the iphoneX simulator?

If, like me, you can't get the accepted answer to work, choose the Window > Show Device Bezels menu item. The virtual device will get a normal window title bar which you can drag around.


So trick question actually because you can click and drag from anywhere, BUT the trick is dragging in the direction away from the simulator first then you can drag it wherever you like.

The problem here is when you click and drag towards the screen first it gets picked up as a swipe event. Thats what you want to avoid.

WRONG

wrong way

RIGHT

enter image description here

Anyways hope this helps somebody.

Happy coding :D