# PCG Graph: How to spawn palm trees in many groups of 1 to 4 palms?

**URL:** <https://forums.unrealengine.com/t/pcg-graph-how-to-spawn-palm-trees-in-many-groups-of-1-to-4-palms/2556755>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [June 14, 2025, 2:27pm UTC](https://forums.unrealengine.com/t/pcg-graph-how-to-spawn-palm-trees-in-many-groups-of-1-to-4-palms/2556755 "2025-06-14T14:27:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravenik241](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravenik241](https://forums.unrealengine.com/u/Ravenik241)\
**Post date:** [June 14, 2025, 2:27pm UTC](https://forums.unrealengine.com/t/pcg-graph-how-to-spawn-palm-trees-in-many-groups-of-1-to-4-palms/2556755/1 "2025-06-14T14:27:16Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/d/ecd60abe612ff9dc72d2efbc662d54c81639a788.jpeg)

Hi,  
Unreal 5.5. Hobby project. I spawn palms using “Duplicate Points” - 4 at a time. In “Duplicate Points” I set Iterations to 4 to have 4 palms at a time. However I would prefer random number of palms in each group - say from 1 to 4 palms in a group. How to randomize Iterations parameter of “Duplicate Points” or do it in other smart way???

The suggestions given by free of charge ChatGPT and Gemini led me nowhere despite many experiments which I conducted.

I want to simulate a few palms in a group as if they spread randomly in nature.

I havent found proper tutorial on youtube for my question.

Please help.

---

<div class="post-metadata">

**Author:** ![Ravenik241](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravenik241](https://forums.unrealengine.com/u/Ravenik241)\
**Post date:** [June 15, 2025, 9:48pm UTC](https://forums.unrealengine.com/t/pcg-graph-how-to-spawn-palm-trees-in-many-groups-of-1-to-4-palms/2556755/2 "2025-06-15T21:48:35Z")

</div>

I ended up creating a Custom Blueprint Node for PCG which seems to fulfill expectations.
