1 min read

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

NameValueDescription
Always0The service is always visible in the Explorer window.
Off1The service is hidden from the Explorer window by default, but can still be added via the Insert Service menu.
WithChildren2The 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.

FieldValue
value0

Off

The service is hidden from the Explorer window by default, but can still be added via the Insert Service menu.

FieldValue
value1

WithChildren

The service is visible in the Explorer window only when it has children; it can still be added via the Insert Service menu.

FieldValue
value2