Foliage paint tool

hello,
What i’m trying to do is i want to paint foliage vertically on slopes. How to do it?
Thanks.