# PCG remove selected area

**URL:** <https://forums.unrealengine.com/t/pcg-remove-selected-area/1243895>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [July 29, 2023, 3:05pm UTC](https://forums.unrealengine.com/t/pcg-remove-selected-area/1243895 "2023-07-29T15:05:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elmarath](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elmarath](https://forums.unrealengine.com/u/Elmarath)\
**Post date:** [July 29, 2023, 3:05pm UTC](https://forums.unrealengine.com/t/pcg-remove-selected-area/1243895/1 "2023-07-29T15:05:26Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/4/d841741ba3b891d5e2599bdbcc1b91be6923b59b.jpeg)  
From one selected point I sample Grid, than I spawn some objects in the scene.  
(Brightest cube is the point that I sample my grid from)  
So I want to delete previously created objects around the main cube. Any idea how to do that with pcg?
