SolidColorDisplay.color

From MiniScript Wiki
Revision as of 15:00, 2 April 2020 by JoeStrout (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SolidColorDisplay.color gets or sets the color shown by this display. The alpha channel is functional, so you can make such a display semi-transparent.

Example

display(0).mode = displayMode.solidColor
display(0).color = "#0000FF88"  // semi-transparent blue