
As it can be seen in the image above, if the local point has either x or y negative, it's impossible to have a hit test so we should bail as early as possible.
For context, this is happening because I compute a layout of my background scene and then place each container / sprite using sprite.setPosition(x,y) to that their children are positioned in relative position to their parent.
As it can be seen in the image above, if the local point has either
xorynegative, it's impossible to have a hit test so we should bail as early as possible.For context, this is happening because I compute a layout of my background scene and then place each container / sprite using
sprite.setPosition(x,y)to that their children are positioned in relative position to their parent.