Difference between revisions of "TextDisplay.cellColor"

From MiniScript Wiki
Jump to navigation Jump to search
m
m (→‎Example: Fix syntax)
 
Line 20: Line 20:
 
== Example ==
 
== Example ==
  
<ms>print text.cellColor 0, 10</ms>
+
<ms>print text.cellColor(0, 10)</ms>
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]

Latest revision as of 13:48, 26 February 2024

TextDisplay.cellColor returns the foreground color of the given cell of a text display.

See also: TextDisplay.setCellColor

Arguments

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

Usage Notes

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

Example

print text.cellColor(0, 10)