I'm creating -lets say- a space shooter game. and i want to end the game when all ships on the screen is destroyed by player. to achive that i've tried to use ship is on-screen option but it seems like this condition is for the actual object not its' instances. so what should i use for it?
i'm a newb. sorry if it's an easy question.