Extensions Test Point

boolean class.testPoint ( number x, number y, [number layer] )

Tests if any object that is a member of the obejct class is currently overlapping a specific point 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 in the frame
y Y coordinate in the frame
layer Optional.  1-based layer index, or constants mmf.ANY_LAYER 

Return Values

boolean true if an object is overlapping the specified point, false otherwise


See also:
     Test Point Get

Copyright 2010 Justin Aquadro