# \#Environment-Query-System

**URL:** https://forums.unrealengine.com/tag/environment-query-system/11162.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [EQS: How to find the AI that is the closest to the player](https://forums.unrealengine.com/t/eqs-how-to-find-the-ai-that-is-the-closest-to-the-player/633652)

<div class="topic-metadata">

**Author:** [@Skylene1](https://forums.unrealengine.com/u/Skylene1)\
**Replies:** 76\
**Last updated:** [August 25, 2022, 8:12am UTC](https://forums.unrealengine.com/t/eqs-how-to-find-the-ai-that-is-the-closest-to-the-player/633652 "2022-08-25T08:12:22Z")

</div>

Hello! I’m trying to make it so that I can have a check to see what AI is the closest to the player. The reason for this is that I want to interact only with the closest AI. Currently when interacting, it gathers all th…

---

## [Mass Crowd using EQS instead of ZoneShape](https://forums.unrealengine.com/t/mass-crowd-using-eqs-instead-of-zoneshape/605535)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_464f5f5c](https://forums.unrealengine.com/u/anonymous_user_464f5f5c)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 12:08pm UTC](https://forums.unrealengine.com/t/mass-crowd-using-eqs-instead-of-zoneshape/605535 "2022-07-15T12:08:58Z")

</div>

I have followed the tutorial down below to set up a simple Mass Crowd pedestrian system. However, I would like to use EQS instead of ZoneShapes (and possibly behavior trees instead of state trees). Anyone know if that is…
