Creator Hub
Dashboard
Documentation
Store
Talent
Forum
Roadmap
Log In
Engine
/
Reference
/
Classes
Feedback
Edit
StyleRule
Show Deprecated
Summary
Properties
Selector
:
string
read parallel
SelectorError
:
string
read only
not replicated
read parallel
View all inherited from Instance
Methods
GetProperties
()
:
Dictionary
GetProperty
(
name :
string
)
:
Variant
SetProperties
(
table :
Dictionary
)
:
void
SetProperty
(
name :
string
,
value :
Variant
)
:
void
Methods inherited from
StyleBase
GetStyleRules
()
:
Objects
InsertStyleRule
(
rule :
StyleRule
,
index :
number
?
)
:
void
SetStyleRules
(
rules :
Objects
)
:
void
View all inherited from Instance
Events
Events inherited from
StyleBase
StyleRulesChanged
()
:
RBXScriptSignal
View all inherited from Instance
Properties
Selector
string
read parallel
SelectorError
string
read only
not replicated
read parallel
View all inherited from Instance
Methods
GetProperties
Dictionary
Returns
Dictionary
GetProperty
Variant
Parameters
name
:
string
Returns
Variant
SetProperties
void
Parameters
table
:
Dictionary
Returns
void
SetProperty
void
Parameters
name
:
string
value
:
Variant
Returns
void
Properties inherited from StyleBase
View all inherited from Instance
Events
Properties inherited from StyleBase
View all inherited from Instance