Extensions |
boolean class.testObject ( object object [number layer] )
Tests if any object that is a member of the obejct class is currently overlapping another specified object.
If a layer is specified, the test is limited to instances on that layer. By default, layer is equal to mmf.ANY_LAYER.
Parameters
object | Table representing an object instance |
layer | Optional. 1-based layer index, or constants mmf.ANY_LAYER, mmf.SAME_LAYER, or mmf.DIFF_LAYER |
Return Values
boolean | true if an object is overlapping the specified object, false otherwise |
Copyright 2010 Justin Aquadro