# Is there no option to randomize the positions of the grayscale cubes using a Spline Sampler in a PCG? (Unreal Engine 5)

**URL:** <https://forums.unrealengine.com/t/is-there-no-option-to-randomize-the-positions-of-the-grayscale-cubes-using-a-spline-sampler-in-a-pcg-unreal-engine-5/1650883>\
**Category:** World Creation\
**Tags:** unreal-engine, Blueprint\
**Created:** [January 29, 2024, 5:01am UTC](https://forums.unrealengine.com/t/is-there-no-option-to-randomize-the-positions-of-the-grayscale-cubes-using-a-spline-sampler-in-a-pcg-unreal-engine-5/1650883 "2024-01-29T05:01:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Twitch\_Sabotage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twitch\_Sabotage](https://forums.unrealengine.com/u/Twitch_Sabotage)\
**Post date:** [January 29, 2024, 5:01am UTC](https://forums.unrealengine.com/t/is-there-no-option-to-randomize-the-positions-of-the-grayscale-cubes-using-a-spline-sampler-in-a-pcg-unreal-engine-5/1650883/1 "2024-01-29T05:01:44Z")

</div>

Is there any way to randomize the location of the grayscale cubes within the PCG spline? Maybe a function I can add to the PCG Graph?

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/a/27acdff54f1588aee9b9e964af0973761947395a.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/c/20c76d65f66aba2bdfaef75a17f685ab121aedab.jpeg)

---

<div class="post-metadata">

**Author:** ![keyofhash](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/keyofhash/32/890679_2.png) [@keyofhash](https://forums.unrealengine.com/u/keyofhash)\
**Post date:** [January 29, 2024, 6:59am UTC](https://forums.unrealengine.com/t/is-there-no-option-to-randomize-the-positions-of-the-grayscale-cubes-using-a-spline-sampler-in-a-pcg-unreal-engine-5/1650883/2 "2024-01-29T06:59:46Z")

</div>

Try adding an “Attribute Noise” node between your sampler and density filters. Make sure to alter the seeds a bit in each noise filter so that there is some variation on each mesh.

---

<div class="post-metadata">

**Author:** ![AnubhaBanerjee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnubhaBanerjee](https://forums.unrealengine.com/u/AnubhaBanerjee)\
**Post date:** [August 3, 2024, 12:09pm UTC](https://forums.unrealengine.com/t/is-there-no-option-to-randomize-the-positions-of-the-grayscale-cubes-using-a-spline-sampler-in-a-pcg-unreal-engine-5/1650883/3 "2024-08-03T12:09:44Z")

</div>

Found a solution using this:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/1/be18158a9a14a9db4b4e62a13064e9dc3bd43e32.jpeg)

---

<div class="post-metadata">

**Author:** ![Kaydo007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kaydo007/32/968600_2.png) [@Kaydo007](https://forums.unrealengine.com/u/Kaydo007)\
**Post date:** [August 18, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/is-there-no-option-to-randomize-the-positions-of-the-grayscale-cubes-using-a-spline-sampler-in-a-pcg-unreal-engine-5/1650883/4 "2025-08-18T13:37:40Z")

</div>

how did you break the patterns ?
