{{newin|[[0.8.0]]|080|type=method}}
Calls a function for each fixture inside the specified area by searching for any overlapping bounding box ([[Fixture:getBoundingBox]]).

[[File:WorldqueryBoundingBox.png]]
== Function ==
=== Synopsis ===
<source lang="lua">
World:queryBoundingBox( topLeftX, topLeftY, bottomRightX, bottomRightY, callback )
</source>
=== Arguments ===
{{param|number|topLeftX|The x position of the top-left point.}}
{{param|number|topLeftY|The y position of the top-left point.}}
{{param|number|bottomRightX|The x position of the bottom-right point.}}
{{param|number|bottomRightY|The y position of the bottom-right point.}}
{{param|function|callback|This function gets passed one argument, the fixture, and should return a boolean. The search will continue if it is true or stop if it is false.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::World]]
[[Category:Functions]]
{{#set:Description=Calls a function for each fixture inside the specified area.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|World:queryBoundingBox}}