Button (Component): Difference between revisions

From correspond
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Component]]
[[Category:Component]]
[[Category:Interactive]]
[[Category:Interactive]]
The Button Component allows you to make a player run a command when pressed.
A Button is a [[:Category:Component|Component]] runs a command when pressed.


It is exclusive to [[Screen (Type)|Screens]].
It is exclusive to [[Screen (Type)|Screens]].

Revision as of 20:22, 22 June 2026

A Button is a Component runs a command when pressed.

It is exclusive to Screens.

Attributes:

  • x
  • y
  • w (Width)
  • h (Height)
  • action