How can i make a round world?

I was wondering if there is a way to make a loopable map to give the player a feel of a “round” open world, so if I go to north all the way eventually i will end up in the “south” of the map, and likewise east and west. so in another example if I go north-west, I would end up in the south-east part of the map, the idea is to make the edges of the world invicible and unreachable

There are alot of ways to do this. One simple way is to simly duplicate the top of the world on the bottom and the left on the right and as you cross over into the duplicates, teleport yourself to the opposite side, this way it appears seamless.

Just imagine a 3X3 grid with your world contained in each grid cell, as you reach the edge of the center grid teleport to the opposite side/corner.