rconsoletop Synchronous
rconsoletopmost
Set the console topmost preference and show the console. Use it to change the console display priority when working with other on-screen windows. Supply true or false explicitly; calling it also shows the console.
Luau
rconsoletop(enabled: boolean) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | Required boolean. true uses the topmost display order; false uses the regular order. |
Returns
()This function returns no values.
Example
Luau
rconsoletop(true)
rconsoleprint("Press Enter to restore the regular display order.")
rconsoleinput()
rconsoletop(false)