# Block PCG Foliage from Spawning Meshes in a Waterbody River

**URL:** <https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [April 5, 2026, 11:45pm UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685 "2026-04-05T23:45:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krotus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krotus/32/88718_2.png) [@Krotus](https://forums.unrealengine.com/u/Krotus)\
**Post date:** [April 5, 2026, 11:45pm UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685/1 "2026-04-05T23:45:44Z")

</div>

Hello, Everyone!

Happy Easter to those who celebrate/revere it!

I cannot figure out to block PCG Foliage from spawning meshes in a WaterbodyRiver. I have no trouble with the WaterbodyLake. has any one else figured this out? I have tried several things and followed several tutorials and nothing works.

WaterbodyLake

 ![ScreenshotLake](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/d/6cd33243733cd98bd75f87c03d123bfea3e2f45c.jpeg)

WaterbodyRiver

 ![ScreenshotRiver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/c/0bc8c80efda3be5a787fccbe93e2b17aed780342.jpeg)

Bounds Modifier for the WaterbodyRiver spline

 ![BoundsModifier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/3/35377f2ecc962426da6118853e5212a55d42ae6a.png)

I’ve tried Set for the Mode as well. The Spline Sampler is set to On Splne and Distance.

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [April 6, 2026, 12:23am UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685/2 "2026-04-06T00:23:05Z")

</div>

Looks like you have three negative values and one positive.

---

<div class="post-metadata">

**Author:** ![Krotus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krotus/32/88718_2.png) [@Krotus](https://forums.unrealengine.com/u/Krotus)\
**Post date:** [April 6, 2026, 3:27am UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685/3 "2026-04-06T03:27:54Z")

</div>

Thanks for looking, that was just a typo - it doesn’t work with a positive value for the Max Y either.

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [April 6, 2026, 10:30am UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685/4 "2026-04-06T10:30:00Z")

</div>

Try min -1000 all three

and max 1000 all three

---

<div class="post-metadata">

**Author:** ![Krotus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krotus/32/88718_2.png) [@Krotus](https://forums.unrealengine.com/u/Krotus)\
**Post date:** [April 7, 2026, 5:39am UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685/5 "2026-04-07T05:39:29Z")

</div>

Thanks again, but that didn’t work either. I think I’m going to have to go into Top View, Put a Blueprint Actor closed loop spline into the scene, add points, and outline the river then in the PCG graph, use a Spline Sample, get interior points, project them onto the landscape and use a Difference node to subtract from the PCG foliage.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [April 7, 2026, 7:36pm UTC](https://forums.unrealengine.com/t/block-pcg-foliage-from-spawning-meshes-in-a-waterbody-river/2711685/6 "2026-04-07T19:36:19Z")

</div>

you could manually force the PCG to line trace and check what material/texture it resolves to before placing or not placing the instance…  
But you are going to have a faster/easier time doing the opposite. Select all the instances manually and delete.
