This Minecraft tutorial explains how to use the /tp command step-by-step instructions.
You can teleport to a set of coordinates or teleport another player using the /tp command in Minecraft.
in Minecraft Bedrock, there are different syntaxes depending on who or where you are teleporting.
To teleport (the entity running the command) to a set of coordinates:
/tp <x> <y> <z> [yRot] [xRot]
To teleport (the entity running the command) to a set of coordinates facing the direction of another set of coordinates:
/tp <x> <y> <z> facing <lookAtPosition>
To teleport (the entity running the command) to a set of coordinates facing the direction of a target entity:
/tp <x> <y> <z> facing <lookAtEntity>
To teleport a target to a set of coordinates:
/tp <victim> <x> <y> <z> [yRot] [xRot]
To teleport a target to a set of coordinates facing the direction of another set of coordinates:
/tp <victim> <x> <y> <z> facing <lookAtPosition>
To teleport a target to a set of coordinates facing the direction of a target entity:
/tp <victim> <x> <y> <z> facing <lookAtEntity>
To teleport (the entity running the command) to the location of another target:
/tp <destination>
To teleport a target to the location of another target:
/tp <victim> <destination>
EXAMPLES
/tp ~~~
/tp @e[type=creeper] @p
/tp @r @r
/tp @r @p
/tp @r