Minecraft entity teleport?

ul
3

I'm trying to teleports horses, etc. With command blocks, but only the next horse is to be teleported. If I type teleport @e at the commandblock, then nothing happens.

When I enter teleport @e [type = minecraft: horse] -32 65 23 (ALSO WITHOUT DISTANCE), all 32 horses are teleported in chunk or so. How can I limit that it is only the next one? Nothing works…

Ta

Teleport @e [type = horse, limit = 1, sort = nearest] -32 65 23

Limit does that only a limited number of beings are taken

Sort sorts these beings and determines in which order they are taken

Hope that helps you!

ul

Danke you helped me a lot! It worked! Excellent!

Ta

Bitto 👍