it seems that if I call the getY() method in the act method in a specific area I get a Nullpointerexception.
Does anyone know how to fix that?
btw. I can see the Object clearly in the world
if(getY() > getWorld().getHeight()-100 && getY() < getWorld().getHeight()-50)