Environment Query System (EQS) is a powerful framework feature used to Check and work with The enviroment. This can be used for:
NPCs: To search, take cover, chase, make intelligent decisions.
Scans: To check falling corners nearby
Strategic Placement: Determining where to place objects or characters to achieve a specific strategic goal within the game world.
How does it work:
EQS generates points around a querier(target) the points can be by grid, circles, cones or any shape. Each point has a score determined by tests(conditions players give it) and option to be eliminated
For an example: I want points that are close and not visible to the target. That will eliminate all the points whose are visible and will give score by magnitude. the closer the point is the least magnitude the best point or group of points is.
It is posible to do that by script but if its built in by roblox (it uses c++) it would run smoother and faster for us the developers