hello, are the coordinates for the method getColorAt relative? and checks it only colors of the image or the other things too?


int realLeft = a.getX() - a.getImage().getWidth() / 2; int realTop = a.getY() - a.getImage().getHeight() / 2;
int realX = whatever; int realY = whatever; Actor a = getObjectAt(realX, realY, null); int imageX = realX - a.getX() + a.getImage().getWidth() / 2; int imageY = realY - a.getY() + a.getImage().getHeight() / 2;