Extensions |
boolean mmf.frame.testPoint ( number x, number y [, number layer] )
Test a point on the frame's collision mask for a backdrop obstacle. The test can optionally be limited to a layer.
Parameters
x | X coordinate on frame |
y | Y coordinate on frame |
layer | Optional. 1-based layer index, or constant mmf.ANY_LAYER |
Return Values
boolean | true if there's an obstacle at the given point, false otherwise |
Example
Copyright 2010 Justin Aquadro