I've come up with the idea of when hitting a trigger placed at the edge of the screen:
1. make the player's 8-direction behavior disabled, then
2. moving the character's x position and the background's x position until they end up on the other side of the screen. Then
3. enabling the 8-direction behavior again.
This seems very messy to me so I can't tell if I'm on the right track.