# Keeping the foliage tool constrained

**URL:** <https://forums.unrealengine.com/t/keeping-the-foliage-tool-constrained/103885>\
**Category:** World Creation\
**Tags:** unreal-engine, Foliage\
**Created:** [December 14, 2017, 8:29pm UTC](https://forums.unrealengine.com/t/keeping-the-foliage-tool-constrained/103885 "2017-12-14T20:29:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bdcoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bdcoll](https://forums.unrealengine.com/u/Bdcoll)\
**Post date:** [December 14, 2017, 8:29pm UTC](https://forums.unrealengine.com/t/keeping-the-foliage-tool-constrained/103885/1 "2017-12-14T20:29:27Z")

</div>

Hi all,

So i’m currently working on a project where i need to apply some plants across a very large site, to a good number of planting bays. I’ve been using the foliage tool to do this as it can automate a lot of the places through the fill button. However the plants I have sometimes appear right on the edges, and spill out into the driveways or road.

Is their an easy way to constrain this, so it takes into consideration the bounding box for placement, and not just the pivot point?

Thanks 😉

---

<div class="post-metadata">

**Author:** ![Bdcoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bdcoll](https://forums.unrealengine.com/u/Bdcoll)\
**Post date:** [December 17, 2017, 10:48pm UTC](https://forums.unrealengine.com/t/keeping-the-foliage-tool-constrained/103885/2 "2017-12-17T22:48:53Z")

</div>

Anyone Got Some Advice?

---

<div class="post-metadata">

**Author:** ![Vollgaser](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vollgaser](https://forums.unrealengine.com/u/Vollgaser)\
**Post date:** [December 18, 2017, 10:31am UTC](https://forums.unrealengine.com/t/keeping-the-foliage-tool-constrained/103885/3 "2017-12-18T10:31:24Z")

</div>

If you have youre objects for roads and driveways as static meshes then these have a collision that will be respected by the foliage tool if you select there “no painting foliage on static meshes.” (remove the check from the checkbox for painting on BSP, …).

for straight lines, use a sharp-edged square brush to paint the foliage

---

<div class="post-metadata">

**Author:** ![Bdcoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bdcoll](https://forums.unrealengine.com/u/Bdcoll)\
**Post date:** [December 19, 2017, 8:54pm UTC](https://forums.unrealengine.com/t/keeping-the-foliage-tool-constrained/103885/4 "2017-12-19T20:54:49Z")

</div>

Ah thanks for the tip :). I couldn’t actually find the button for doing that, the only one I can find disables it spawning on static meshes entirely 😕

Does anyone else know of a way of telling the foliage tool to listen to the bounding box when placing items, and not the pivot point?
