# Teleporting all entities in an area around the player

**URL:** https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474
**Category:** Minecraft
**Tags:** game
**Created:** [January 17, 2023, 5:40pm UTC](https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474 "2023-01-17T17:40:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)
#### Post date: [January 17, 2023, 5:40pm UTC](https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474/1 "2023-01-17T17:40:46Z")

</div>

It’s been a while since i have been on the forum now. I am making a school project in minecraft for computer class. My idea is to pull a chunk of the ground out of the ground floating in the air, with a big hole remaining. When you use the command the player also get teleported up to the island, but i want all entities to teleport up too relative to their own location. That means i want the mobs to teleport from their location just 50 blocks up

---

<div class="post-metadata">

### Author: ![HesterBeckett](https://avatars.discourse-cdn.com/v4/letter/h/22d042/32.png) [@HesterBeckett](https://forum.makecode.com/u/HesterBeckett)
#### Post date: [January 25, 2023, 6:33pm UTC](https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474/2 "2023-01-25T18:33:25Z")

</div>

I don’t know about this game can you please send me the link to download this game.

---

<div class="post-metadata">

### Author: ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)
#### Post date: [January 26, 2023, 6:13pm UTC](https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474/3 "2023-01-26T18:13:04Z")

</div>

Ok here’s the code.

> **[floating island abduction](https://minecraft.makecode.com/90281-79495-28660-51143)**
>
> Made with ❤️ in Microsoft MakeCode for Minecraft.

---

<div class="post-metadata">

### Author: ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)
#### Post date: [February 3, 2023, 6:05pm UTC](https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474/4 "2023-02-03T18:05:34Z")

</div>

Hello? is there anyone here? i would love some help.

---

<div class="post-metadata">

### Author: ![Sundance967](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Sundance967](https://forum.makecode.com/u/Sundance967)
#### Post date: [August 15, 2025, 4:18pm UTC](https://forum.makecode.com/t/teleporting-all-entities-in-an-area-around-the-player/17474/5 "2025-08-15T16:18:57Z")

</div>

I realized I’m very, very late to the party, but I found a solution. In the mobs tab near the bottom, there’s a selector which is “all (mobs/players/etc) near to (position) within radius (number)”, which allows you to select any type of entity within that designation, combine this with the teleport code, and you can use that to teleport all mobs near the player within your specified radius to however high you want.
