I am making a data pack for a small game and creating a function.
game mode starts upon function activation.
At the start of the activation, I want the world spawn to be on the person starting the game and also the world border to be centered at the same location. Hence you can start the game in different parts of the same world.
I tried a few things but I am learning. I tried ~
and @s
not sure of other options.