Quick question, is there a default way get the highest layer entity from a collision point? Because
world.collidePoint("object", world.mouseX, world.mouseY);
Only get the oldest entity rather than using the layers. I know I can make a method that could search by layer but just wondering if there is a default way of doing so.