# How to create a hole in a mesh like Roblox’s Negate button in BabylonJS Editor?

**URL:** <https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268>\
**Category:** Questions\
**Tags:** editor, meshes\
**Created:** [November 3, 2025, 3:11pm UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268 "2025-11-03T15:11:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![polymaxcube](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@polymaxcube](https://forum.babylonjs.com/u/polymaxcube)\
**Post date:** [November 3, 2025, 3:11pm UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/1 "2025-11-03T15:11:01Z")

</div>

I’ve been searching for a Negate button like in Roblox for hours. Does the Babylon.js Editor have a similar feature? How do developers usually make holes and merge meshes in the Editor?

Thanks in advance!

 ![bjseditor](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/a/fa54489f1fa1cbcce54a3ae8590161ff98a6846e.jpeg)

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [November 3, 2025, 3:36pm UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/2 "2025-11-03T15:36:36Z")

</div>

> [@Introducing: CSG2](https://forum.babylonjs.com/t/introducing-csg2/54274):
>
> The old CSG class was made of pure JS (it was a port from [GitHub - evanw/csg.js: Constructive solid geometry on meshes using BSP trees in JavaScript](https://github.com/evanw/csg.js/)) and while it served us, it was not maintained and not usable anymore. We are now encouraging everyone to switch the new CSG2 class. CSG2 is built on top of Manifold and can produce very neat booleans. How to port: [https://doc.babylonjs.com/breaking-changes#porting-from-csg-to-csg2](https://doc.babylonjs.com/breaking-changes#porting-from-csg-to-csg2) Documentation: [Merging Meshes | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/mesh/mergeMeshes#merging-meshes-with-constructive-solid-geometry) Inter…

---

<div class="post-metadata">

**Author:** ![polymaxcube](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@polymaxcube](https://forum.babylonjs.com/u/polymaxcube)\
**Post date:** [November 3, 2025, 4:02pm UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/3 "2025-11-03T16:02:58Z")

</div>

Thank you so much! I was just hoping for a Negate button in the Editor, like in Roblox Studio.  
I ended up doing it with code by overlapping and subtracting meshes.  
Really appreciate your help. I’ve bookmarked this, there’s a lot of cool stuff to learn!

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [November 3, 2025, 4:17pm UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/4 "2025-11-03T16:17:45Z")

</div>

Keep in mind this does create quite a bit of geometry data and is not the most efficient way to make meshes. You can use it pretty well on simple shapes but if you go over on complexity it can compound fast.

---

<div class="post-metadata">

**Author:** ![polymaxcube](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@polymaxcube](https://forum.babylonjs.com/u/polymaxcube)\
**Post date:** [November 4, 2025, 5:30am UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/5 "2025-11-04T05:30:24Z")

</div>

Got it, thank you for the tip! I’ll keep that in mind and try to avoid using it on complex shapes. Really appreciate your advice! I’ve always been fascinated by polygons and how they shape everything in 3D now, I have so many ideas using [PolygonMeshBuilder](https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/polyMeshBuilder/). I’ll be showing them on the Playground soon.

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [February 7, 2026, 7:43pm UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/6 "2026-02-07T19:43:55Z")

</div>

Hey @polymaxcube !  
I just saw your post !! =O

Merging meshes and CSG is not yet supported but I can add it to the next version if it’s still a need for you!  
Let me know and you’ll get CSG

---

<div class="post-metadata">

**Author:** ![polymaxcube](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@polymaxcube](https://forum.babylonjs.com/u/polymaxcube)\
**Post date:** [February 14, 2026, 4:56am UTC](https://forum.babylonjs.com/t/how-to-create-a-hole-in-a-mesh-like-roblox-s-negate-button-in-babylonjs-editor/61268/7 "2026-02-14T04:56:28Z")

</div>

Thanks a lot, Julien!  
Yes, this is still something I’d love to use. CSG support would be awesome 🙌  
Really appreciate your help!
