printconsole Synchronous

Send a colored text line to the native console. RGB channels make a short status easier to distinguish from surrounding output.

Syntax
Luau
printconsole(text: string, red: number?, green: number?, blue: number?) -> ()

Parameters

Function parameters
ParameterTypeDescription
textstringText to print.
rednumber?Optional red channel from 0 to 255; defaults to 255.
greennumber?Optional green channel from 0 to 255; defaults to 255.
bluenumber?Optional blue channel from 0 to 255; defaults to 255.

Returns

()

No values.

Usage notes

Explicit nil channel arguments are rejected; omit trailing channels to use defaults.

These RGB numbers are 0–255, unlike normalized Drawing color values.

Example

Example
Luau
printconsole("Import complete", 64, 200, 120)
Kawaii documentation