TextDisplay.cellBackColor

From MiniScript Wiki
Revision as of 13:49, 26 February 2024 by Marc Gurevitx (talk | contribs) (→‎Example: Fix syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TextDisplay.cellBackColor returns the background color of the given cell.

See also: TextDisplay.setCellBackColor

Arguments

Parameter Name Type Default Value Meaning
x number 0 column of interest
y number 0 row of interest

Usage Notes

TextDisplay.cellBackColor may appear as either the text color or the surrounding color, depending on whether the given cell is in inverse mode.

Example

print text.cellBackColor(0, 10)