rconsoletop

Sets whether the console window stays above other windows.

Syntax

rconsoletop(shouldBeTop: boolean) -> ()

Returns

This function does not return a value.

Description

rconsoletop makes the console topmost when passed true and removes that state when passed false. It also shows the console.

Example

rconsoleshow()
rconsoleprint("This console is now on top!\n")

-- Bring console to front
rconsoletop(true)

Notes

  • Call rconsoletop(false) to restore normal window ordering