Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ServiceVisibility
Controls when a service is displayed in the Explorer panel in Roblox Studio. This enum is used by the ServiceVisibility property on ReflectionMetadataClass, which defines the default explorer visibility for a service class. It does not affect whether the service is accessible via GetService().
Items
| Name | Value | Description |
|---|---|---|
| Always | 0 | The service is always visible in the Explorer window. |
| Off | 1 | The service is hidden from the Explorer window by default, but can still be added via the Insert Service menu. |
| WithChildren | 2 | The service is visible in the Explorer window only when it has children; it can still be added via the Insert Service menu. |
Always
The service is always visible in the Explorer window.
| Field | Value |
|---|---|
| value | 0 |
Off
The service is hidden from the Explorer window by default, but can still be added via the Insert Service menu.
| Field | Value |
|---|---|
| value | 1 |
WithChildren
The service is visible in the Explorer window only when it has children; it can still be added via the Insert Service menu.
| Field | Value |
|---|---|
| value | 2 |