# Chaos Destruction- How do I spawn a geo collection and set the anchor for it mid game?

**URL:** <https://forums.unrealengine.com/t/chaos-destruction-how-do-i-spawn-a-geo-collection-and-set-the-anchor-for-it-mid-game/757796>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 27, 2023, 4:17am UTC](https://forums.unrealengine.com/t/chaos-destruction-how-do-i-spawn-a-geo-collection-and-set-the-anchor-for-it-mid-game/757796 "2023-01-27T04:17:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Resolve](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Resolve](https://forums.unrealengine.com/u/Resolve)\
**Post date:** [January 27, 2023, 4:17am UTC](https://forums.unrealengine.com/t/chaos-destruction-how-do-i-spawn-a-geo-collection-and-set-the-anchor-for-it-mid-game/757796/1 "2023-01-27T04:17:10Z")

</div>

I’m trying to replace static meshes during gameplay instead of always having geometry collections sit in my world because they seem to cost quite a lot.

I’ve tried making them blueprints but I can’t select any fields not already on the world.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 27, 2023, 8:24am UTC](https://forums.unrealengine.com/t/chaos-destruction-how-do-i-spawn-a-geo-collection-and-set-the-anchor-for-it-mid-game/757796/2 "2023-01-27T08:24:33Z")

</div>

Hey there @Resolve! I’ve personally never handled initialization fields at runtime, so I’ve brought a couple of resources that might be able to help you out! Let me know if any of them do!

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

> [@Dynamic Initialization Fields CHAOS](https://forums.unrealengine.com/t/dynamic-initialization-fields-chaos/134388):
>
> Does anyone know if its possible to dynamically set initialization fields on a geometry collection ? Possible example would be creating instanced actors with geometry collections and creating a anchor fields to go with them.

> [@Spawn and set GeometryCollection initialization fields at runtime](https://forums.unrealengine.com/t/spawn-and-set-geometrycollection-initialization-fields-at-runtime/527359/7):
>
> Apparently, it can be done in C++. I think I understand what this person is doing except for the ‘header file’ part. [Dynamic Anchor Fields? - Chaos : unrealengine (reddit.com)](https://www.reddit.com/r/unrealengine/comments/sybtfb/dynamic_anchor_fields_chaos/)

[https://www.reddit.com/r/unrealengine/comments/sybtfb/dynamic\_anchor\_fields\_chaos/](https://www.reddit.com/r/unrealengine/comments/sybtfb/dynamic_anchor_fields_chaos/)
