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.

StudioStyleGuideModifier

Used with StudioTheme:GetColor() to retrieve the theme color for an interface element in a particular interaction state.

Items

NameValueDescription
Default0Uses the element's default state color.
Selected1Uses the color for a selected element.
Pressed2Uses the color for a pressed element.
Disabled3Uses the color for a disabled element.
Hover4Uses the color for an element under the pointer.

Default

Uses the element's default state color.

FieldValue
value0

Selected

Uses the color for a selected element.

FieldValue
value1

Pressed

Uses the color for a pressed element.

FieldValue
value2

Disabled

Uses the color for a disabled element.

FieldValue
value3

Hover

Uses the color for an element under the pointer.

FieldValue
value4