timelinefx:timelinefx.tlQuadTree.ForEachObjectWithinRange
Method ForEachObjectWithinRange:Void( x:Float, y:Float, radius:Float, Data:@object, onFoundObject:Void( @object,@object ), Layer:Int[] )
Query the quadtree to find objects within a certain radius This will query the quadtree and do a callback on any objects it finds within a given radius.
Parameters
x x coordinate of range
y y coordinate of range
radius Radius of the range
Data any object object to pass to the query
onFoundObject A function pointer to function where you can perform whatever tasks you need to with the objects found.
Layer Array of layers in the quadtree that you want to search