the image is a persons head, i want it to only work when the head is touched not the background
stage.addListener(new ClickListener()
{
@Override
public boolean touchDown(InputEvent event, float x, float y, int a , int b)
{
if(box.equals(stage.hit(x,y,false)))
{
box.setPosition(100, 100);
point.play();
score++;
}
else
{
state = GameState.GAMEOVER;
}
return true;
} });