Note
Studio's property groups and the scripting component API are different. A label shown in the Properties panel is not automatically a component name or a Luau field.
UISlider¶
UISlider is a (case-sensitive) built-in component name that stores a slider's visual style.
You can use it with game.World.Query,
Query:With, Query:Without, game.World.Each,
and the Instance component methods.
Script access¶
While this component can be used as a filter in Queries, it currently does not expose any of its fields to Queries. There is no other way to access this component in scripts.
Inspector fields are serialization/editor metadata and are not automatically available as Luau fields. See Components for that distinction and Instances for fixed property types and write scope.
Stored fields¶
Note
Currently, these fields are not directly available as editable Luau. As such, they are reported as the types they are stored as in the engine itself instead of Luau types.
| Field | Stored type | Notes |
|---|---|---|
track_color.r |
f32 |
|
track_color.g |
f32 |
|
track_color.b |
f32 |
|
track_color.a |
f32 |
|
fill_color.r |
f32 |
|
fill_color.g |
f32 |
|
fill_color.b |
f32 |
|
fill_color.a |
f32 |
|
thumb_color.r |
f32 |
|
thumb_color.g |
f32 |
|
thumb_color.b |
f32 |
|
thumb_color.a |
f32 |
|
track_thickness |
f32 |
|
thumb_size |
f32 |