Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
StudioStyleGuideModifier
Used with StudioTheme:GetColor() to retrieve the theme color for an interface element in a particular interaction state.
Items
| Name | Value | Description |
|---|---|---|
| Default | 0 | Uses the element's default state color. |
| Selected | 1 | Uses the color for a selected element. |
| Pressed | 2 | Uses the color for a pressed element. |
| Disabled | 3 | Uses the color for a disabled element. |
| Hover | 4 | Uses the color for an element under the pointer. |
Default
Uses the element's default state color.
| Field | Value |
|---|---|
| value | 0 |
Selected
Uses the color for a selected element.
| Field | Value |
|---|---|
| value | 1 |
Pressed
Uses the color for a pressed element.
| Field | Value |
|---|---|
| value | 2 |
Disabled
Uses the color for a disabled element.
| Field | Value |
|---|---|
| value | 3 |
Hover
Uses the color for an element under the pointer.
| Field | Value |
|---|---|
| value | 4 |