Transport the character if it reaches the end of screen

In BGE, How do I transport the character form left to right and vice versa with a still camera view/scene in 2d mode? I’m having trouble in creating a 2d game where in my character can loop around my scene. If the character is at the the end of my view it will go back to the other opposite side… Do I have to use loop properties and boolean here? And what sensors/actuators to use camera or object?