HELP! masking generated objects!

hi, how do i mask something that is added dynamically? items you have to hit are being generated outside the viewable area, but you can see them if you make your screen larger. any advice to hide them while theyre off screen?