Console#
Introduction#
Below is a list of all methods:
Actions – Interact with the Console.
print – Print text to the Console.
new_line – Move the Console cursor position at the start of the next row down.
clear – Clear all text from the Console.
Mutators – Change the text color in the Console.
set_print_color – Set the color text will display in for the Console.
Actions#
print#
print
prints text in the console using the current cursor position.
Usage:
console.print(value)
Parameters |
Description |
---|---|
|
The text that will be printed as a string. |
# Example coming soon
new_line#
new_line
moves the cursor to the start of the row below the current position in the Console.
Usage:
console.new_line()
Parameters |
Description |
---|---|
This method has no parameters. |
# Example coming soon
clear#
clear
clears all text from the Console.
Usage:
console.clear()
Parameters |
Description |
---|---|
This method has no parameters. |
# Example coming soon
Mutators#
set_print_color#
set_print_color
sets the color used when printing text to the Console.
Usage:
set_print_color(color)
Parameters |
Description |
---|---|
|
The color to print text with:
|
# Example coming soon