# Disabled and Hidden components

**URL:** <https://forum.8thwall.com/t/disabled-and-hidden-components/5632>\
**Category:** Technical Support\
**Created:** [March 17, 2025, 7:59pm UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632 "2025-03-17T19:59:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Netherstory\_Team](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Netherstory\_Team](https://forum.8thwall.com/u/Netherstory_Team)\
**Post date:** [March 17, 2025, 7:59pm UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632/1 "2025-03-17T19:59:17Z")

</div>

Hi!  
Documentation states there are Disabled and Hidden components that does such manipulations with entities. But there are no such components under he +new component menu.  
I assumed they are build-in (and represented by icons in inspector), but addressing such components through scripts doesn’t achive anything. I am using Cloud Studio.

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [March 18, 2025, 4:29pm UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632/2 "2025-03-18T16:29:21Z")

</div>

The + Button is a shortcut for creating an entity with components.

Disabled and Hidden are components you can see them in use in various sample projects. See line 40 on the `tap-place.ts` script in the World Effects sample project here:

> **[Studio: World Effects | 8th Wall | 8th Wall](https://www.8thwall.com/8thwall/world-effects/code/tap-place.ts)**
>
> This Niantic Studio example allows the user to grow cacti 🌵 by tapping or clicking the ground.

---

<div class="post-metadata">

**Author:** ![Netherstory\_Team](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Netherstory\_Team](https://forum.8thwall.com/u/Netherstory_Team)\
**Post date:** [March 18, 2025, 5:02pm UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632/3 "2025-03-18T17:02:32Z")

</div>

Ah, so these components don’t disable or hide entities on the running application?  
I assumed they have the same functions as or control checkbox and visibility (eye) button in the inspector panel of entity.

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [March 18, 2025, 5:26pm UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632/4 "2025-03-18T17:26:43Z")

</div>

They do, but they have to be added at runtime. They don’t show up in the component selector.

---

<div class="post-metadata">

**Author:** ![Netherstory\_Team](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Netherstory\_Team](https://forum.8thwall.com/u/Netherstory_Team)\
**Post date:** [March 20, 2025, 8:37am UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632/5 "2025-03-20T08:37:15Z")

</div>

I will try to describe my problem more precisely as i couldn’t figure out how to disable and enable and if it possible in my specific case.

1. Untill i figured out how to disable/enable doing runtime i use turning on/off visibility of 3d object (gaussian splat) on event
2. I have 2-3 gaussian splats in my scene. my visibility script solves the problem of perfomance by turning only 1 gaus at a time
3. But when i am running app with 3 gaus enabled it crashes despite they are all invisible at the start. It doen’t crash if i have only 2 splats enabled.

So can disabled component solve that problem by disabling/enabling splats instead of hiding?  
Also i am not sure exact reason scene crashes on loading, maybe it’s because loading all 3 splats at the same time. And therefore could disable/enable at least solve this by loading one at a time (but still using visibility script)?

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [March 20, 2025, 4:17pm UTC](https://forum.8thwall.com/t/disabled-and-hidden-components/5632/6 "2025-03-20T16:17:52Z")

</div>

Gaussian splats in general have a pretty intense resource usage. I would recommend different approaches and see which gives you the result you’re looking for.

Generally my go to approach for something like this would be to have each splat be in it’s own space or use a single splat component and modify the URL of the splat component with a custom component.
