Button (Component): Difference between revisions
From correspond
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 2: | Line 2: | ||
[[Category:Interactive]] | [[Category:Interactive]] | ||
A Button is an [[:Category:Interactive|Interactive]] [[:Category:Component|Component]] that runs a command when pressed. | A Button is an [[:Category:Interactive|Interactive]] [[:Category:Component|Component]] that runs a command when pressed. | ||
It is currently the only [[:Category:Interactive|Interactive]] [[:Category:Component|Component]] that renders its contents. | |||
It is exclusive to [[Screen (Type)|Screens]]. | It is exclusive to [[Screen (Type)|Screens]]. | ||
Latest revision as of 06:57, 24 June 2026
A Button is an Interactive Component that runs a command when pressed.
It is currently the only Interactive Component that renders its contents.
It is exclusive to Screens.
Attributes:
- anchor
- x
- y
- w (Width)
- h (Height)
- action