I'm trying to make a layout where when you reach one side you're seamlessly taken to opposite side. I'm trying to make the illusion of infinite space, not like asteroid where you leave the layout, I'm aware of the layout wrap option. I want it so a player could keep flying in a direction and they'll loop back without being aware of it.
So far I've tried making a invisible sprite that when you touch it it sends you to the opposite side, but I can't figure out the right expression to do that. Right now it's set to Sprite3.x-(Sprite.X) Sprite3.Y-(Sprite.Y), I feel I'm somewhat close with this but it's not working the way I want it to.