I want to remove all objects except one, i have figured out how to remove all the objects how do you add an exception for an actor or some other way that will ghet him not to be removed.
getWorld().removeObjects(getWorld().getObjects(null));


List<Actor> actors = getWorld().getObjects(null); for (Actor obj : actors) { if (!obj.equals(..object you don't want to remove...) { getWorld().removeObject(obj); } }