Skip to main content

Global Properties

All BangUI elements inherit these properties:

  • id: string — Unique identifier for the element
  • position: object — X, Y coordinates in UI/view space
  • size: object — Width and height
  • color: RGBA hex (default: FFFFFFFF) — Element color, including alpha
  • visible: boolean — Whether the element is rendered
  • enabled: boolean — Whether the element is interactive
  • styleID: integer — Reference to BML style
  • tooltip: string — Tooltip text
  • zIndex: integer — Stacking order
  • groupID: uint8 — Grouping for radio/checkbox elements