retrieve(source) → {array}
Return all objects that could collide with the given Sprite or Rectangle.
Parameters
| Name | Type | Description |
|---|---|---|
source | Phaser.Sprite | Phaser.Rectangle | The source object to check the QuadTree against. Either a Sprite or Rectangle. |
Returns
array -
- Array with all detected objects.
- Source code: math/QuadTree.js (Line 247)
Please login to continue.