Hi, I am currently programming a game, in which you shoot birds, who are spawning random on the screen and move around. But I want to limit the number of birds flying around to 15 at the same time. My problem is: Where should I put the code for it? The birds are spawned from the world and I already tried limiting their number in constructor and act in the bird actor class with getWorld().numberOfObjects()>15 , but in the constructor it doesn't work and in act they would stop their moving. I just want the program to stop spawning them, until there are less than 15 birds. Thanks in forward.

