While holding the left mouse button on the character, transfer it to the purple portal without touching the traps and walls.