Drag the portals with your finger if on a touchscreen laptop, or on a tablet or phone, and if not on either of those, drag the portals with your mouse.
Credit to Valve for Portal. I made this test because I had an idea of this.