TextDisplay.setCellColor

From MiniScript Wiki
Revision as of 02:47, 29 December 2020 by JoeStrout (talk | contribs) (removed obsolete usage note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TextDisplay.setCellColor changes the foreground color of the given cell.

See also: TextDisplay.cellColor

Arguments

Parameter Name Type Default Value Meaning
x number or list 0 column (or list of columns) to affect
y number or list 0 row (or list of rows) to affect
color string #FFFFFF text color to apply

Example

text.setCellColor 0, 10, color.red