# How to create and manage polygroups in geometry script?

**URL:** <https://forums.unrealengine.com/t/how-to-create-and-manage-polygroups-in-geometry-script/1411926>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, geometry-script, question\
**Created:** [November 22, 2023, 2:26pm UTC](https://forums.unrealengine.com/t/how-to-create-and-manage-polygroups-in-geometry-script/1411926 "2023-11-22T14:26:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leogh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leogh](https://forums.unrealengine.com/u/Leogh)\
**Post date:** [November 22, 2023, 2:26pm UTC](https://forums.unrealengine.com/t/how-to-create-and-manage-polygroups-in-geometry-script/1411926/1 "2023-11-22T14:26:33Z")

</div>

For example, how “append box” on a polygroup index 0 and another “append box” on polygroup 1? I’m having difficulty using the “Set Polygroup Material ID” node.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/5/46594c8df702a939b490a928ff4ef20144245b69.png)
