Can I use the Foliage Tool on the walls or ceiling?

Can not figure out how to apply foliage on walls though… Any tip?