# Is there a way to get nearest transform of creatures or something?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-get-nearest-transform-of-creatures-or-something/2072116>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [October 17, 2024, 4:16am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-nearest-transform-of-creatures-or-something/2072116 "2024-10-17T04:16:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KrCha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krcha/32/987705_2.png) [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Post date:** [October 17, 2024, 4:16am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-nearest-transform-of-creatures-or-something/2072116/1 "2024-10-17T04:16:18Z")

</div>

I want to know the nearest creature’s transform from player! How can I get that?

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [October 17, 2024, 7:10am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-nearest-transform-of-creatures-or-something/2072116/2 "2024-10-17T07:10:18Z")

</div>

> **[Distance function | Unreal Editor for Fortnite Documentation | Epic Developer...](https://dev.epicgames.com/documentation/en-us/uefn/verse-api/unrealenginedotcom/temporary/spatialmath/distance-2)**
>
> Learn technical details about the Distance function.

You can use the distance function through an array of creatures and then use the creature that returns the smallest distance value

---

<div class="post-metadata">

**Author:** ![KrCha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krcha/32/987705_2.png) [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Post date:** [October 17, 2024, 7:28am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-nearest-transform-of-creatures-or-something/2072116/3 "2024-10-17T07:28:35Z")

</div>

Thank you I hope this will help me out

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 16, 2024, 7:28am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-nearest-transform-of-creatures-or-something/2072116/4 "2024-11-16T07:28:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
