---
title: Environment Query System Overview
source: https://dev.epicgames.com/documentation/en-us/unreal-engine/environment-query-system-overview-in-unreal-engine
version: Unreal Engine 5.8 Documentation
fetched: 2026-10-11
note: 原文摘录（英文要点），供 wiki 引用；非全文
---

# Environment Query System Overview

- Collect data about environment; Generator produces Items; Tests filter/score; returns best Item. Examples: closest health pickup, highest threat, line of sight to player. From UE3 Environment Tactical Query.
- Node types: Generator, Contexts (frame of reference), Tests. Custom Generators via Blueprint or C++; custom Tests only C++. Filter tests run before scoring tests (fewer items scored), so test order doesn't matter.
- Run via Behavior Tree "Run EQS Query" task. Enable Environment Query Editor plugin. Preview with debug spheres.
