GetObjectsInArea¶
Read objects in area from current game state.
GetObjectsInArea(a, b)
Inputs: a is map { x, y } corner; b is map { x, y } corner.
Output: Objects inside an inclusive 2D rectangle.
Errors and unavailable states: Wrong scalar argument types can raise a Lua argument error. This call has no separate error return; an empty array gives no usable matches from this read.
See Game data and world for related calls and usage notes.