TextDisplay.setCell

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

TextDisplay.setCell Directly sets a character into a given row and column of the text display. This does not use (or change) the cursor position, nor does it apply the current text colors or inverse mode; it only changes the character displayed.

See also: TextDisplay.cell

Arguments

Parameter Name Type Default Value Meaning
x number 0 column (or list of columns) of cell to change
y number 0 row (or list of rows) of cell to change
character string "" character to store in the given cell

Example

text.setCell 0, 10, "@"