Keeping track if object is spawned