# PCG ignoring spline difference

**URL:** <https://forums.unrealengine.com/t/pcg-ignoring-spline-difference/2046674>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [September 30, 2024, 9:42pm UTC](https://forums.unrealengine.com/t/pcg-ignoring-spline-difference/2046674 "2024-09-30T21:42:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YetiRenders](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yetirenders/32/902814_2.png) [@YetiRenders](https://forums.unrealengine.com/u/YetiRenders)\
**Post date:** [September 30, 2024, 9:42pm UTC](https://forums.unrealengine.com/t/pcg-ignoring-spline-difference/2046674/1 "2024-09-30T21:42:34Z")

</div>

No matter what I try to do to try to exclude PCG points inside splines it seems to completely ignore them. I’ve set the get spline actor to all world actors, by tag and typed the spline name in. I’ve also set the spline sampler to interior but no matter what I still get points spawning inside the spline. The only difference I saw in tutorials was at a point in this video he got a warning after making the get spline data node that I never saw when I made mine. [PCG Tutorial](https://youtu.be/STqt92VF3KM?si=hf4uti6NOquPP4c8&t=268)  
Any help would be much, much appreciated.

 ![Screenshot (32)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/9/119c7d3a2b540880fff20b28c50cd76dea98e744.jpeg)

 ![Screenshot (34)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/a/adab18e6482b03532ebe0b1ad6aa565e5e47bd1e.png)

---

<div class="post-metadata">

**Author:** ![TitusJonas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TitusJonas](https://forums.unrealengine.com/u/TitusJonas)\
**Post date:** [February 4, 2026, 4:15pm UTC](https://forums.unrealengine.com/t/pcg-ignoring-spline-difference/2046674/2 "2026-02-04T16:15:17Z")

</div>

Add an Extents Modifier right after the `Spline Sampler`, then use the debug visualization to match the extents of the sampled boxes so they match the width of the Spline.

Also ensure that your spline sampler samples by distance, so you have evenly spread boxes all along your spline.
