TextDisplay.setCellColor
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