This is working after I paused and resumed, but not while running. btw I had no idea how to call the discussion because I don't get what the error is. The following is in act. boss is an Actor.
if(boss != null) { if(boss.getX() < getWidth() - 200) boss.setLocation(getWidth() - 200, boss.getY());