Button (Component)

From correspond
Revision as of 06:57, 24 June 2026 by Pk321 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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