Spawning multiple actors problem

Im using a traceline by channel to see where on the ground im looking at, left click to spawn a box at the hit location of the traceline. The problem that i am currently facing is that i dont want to be able to spawn a box on a box that has already spawned. How do i fix this? Thanks in advance for the help!