Hello, how I can detect if "myPoint" hitTest a object?
Code:var myPoint:Point = new Point(exampleX, exampleY);
Printable View
Hello, how I can detect if "myPoint" hitTest a object?
Code:var myPoint:Point = new Point(exampleX, exampleY);
Take a look at the code from the answer https://stackoverflow.com/questions/...est-points-as3
I tested the code, but it is returning false even if is there a object in the "coordinate target".
and alsoCode:trace(hitTestPoint(x, y + 23, true));
https://i.imgur.com/CX8kASV.jpgCode:trace(hitTestPoint(x, y + 23));