TextDisplay.color

From MiniScript Wiki
Revision as of 20:11, 25 February 2024 by Marc Gurevitx (talk | contribs) (+ about assigning invalid color)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TextDisplay.color gets or sets the foreground color used on any future printing to this text display. This is the text color for normal text, or the surrounding color for inverse-mode text.

Usage Notes

Assigning an invalid color value to this property will result in "#00000000" (transparent color).

Example

text.color = color.aqua