Extensions |
object[] class.testRectGet ( number x, number y, number w, number h, [number layer] )
Returns a list of all objects that are a member of the object class and currently overlapping a specific rectangular region in the frame.
If a layer is specified, the test is limited to instances on that layer. By default, layer is equal to mmf.ANY_LAYER.
Parameters
x | X coordinate of left edge of rectangle in the frame |
y | Y coordinate of top edge of rectangle in the frame |
w | Width of rectangular region to test |
h | Height of rectangular region to test |
layer | Optional. 1-based layer index, or constants mmf.ANY_LAYER |
Return Values
object[] | A list of objects matching the test. |
Copyright 2010 Justin Aquadro