Masking out landscape grass at runtime

How do I mask out grass when I place objects into the scene via editor or at runtime? E.g. building a house on grass.