How to prevent actors from spawning in inaccessible areas?

Just to clarify, do you mean you NEED to set them as root, or can they be anywhere in the hierarchy?