Teleporting player next to another player but at the surface coordinates.
(1.20.1) I am creating a hugging datapack and I want a player to execute a command when its close to another player, then, make the two players hug: 1 they look at each other 2 they teleport close 3 wait 1 second 4 teleport away