so i have a bullet that deletes the enemies and when it reaches the edge its stay there and the enemies can no longer spawn
if(isAtEdge())
Actor Bala;
Bala = getOneIntersectingObject(Bala.class);
if(Bala != null)
{
World Mundo1;
Mundo1 = getWorld();
Mundo1.removeObject(Bala);