# How to use wave function collapse plugin?

**URL:** <https://forums.unrealengine.com/t/how-to-use-wave-function-collapse-plugin/617245>\
**Category:** Plugins\
**Tags:** unreal-engine, UE5-0, Plugins, question\
**Created:** [July 29, 2022, 4:00pm UTC](https://forums.unrealengine.com/t/how-to-use-wave-function-collapse-plugin/617245 "2022-07-29T16:00:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BlenderGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlenderGamer](https://forums.unrealengine.com/u/BlenderGamer)\
**Post date:** [September 14, 2022, 11:50am UTC](https://forums.unrealengine.com/t/how-to-use-wave-function-collapse-plugin/617245/2 "2022-09-14T11:50:28Z")

</div>

Hi, you may have a look at:

> [@How can I use the Wave Function Collapse functionality?](https://forums.unrealengine.com/t/how-can-i-use-the-wave-function-collapse-functionality/544318/5):
>
> I did manage to figure out what to do to use this plugin. As a note [BloodyPun] up top did answer this it was just hard to understand for me, I’m not an expert in using unreal so it took me a lot longer then i would have wanted to figure out how to use this plugin. so anyone who is looking to mess around with this here are the steps that I have found. 1: enable the plugin, under the edit menu go to plugins, then type in wave function collapse and enable the plugin. 2: reveal the sample conte…

It helped me start. There are maps in the content of the plugin, with samples. But I wonder if the samples are there as an exemple or for the algo to determine the authorized neighbours.

However, as said in the post: Instantiate the WFC editor widget. Then, use it in a map: set the size, samples, and press collapse. The result will be spawn at 0,0,0 (for me). Anyway, use the outliner to find it in case. Start small. My PC is trash, and was on its kness quickly with bigger structures. WFC is a np algorithm if I understood it well, so it can become crazy expensive really quick ^^  
Hope it helps

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-use-wave-function-collapse-plugin/617245)._
