Console Functions - Windower/Lua GitHub Wiki

This page outlines the available functions that manipulate the Windower console.


windower.console.clear()

Erases all text currently in the Windower console.

windower.console.close()

Closes the Windower console. Has the same effect as pressing the user-specified console key when the console is up.

windower.console.open()

Opens the Windower console. Has the same effect as pressing the user-specified console key when the console is not up.

windower.console.set_position(x, y)

  • x number - Horizontal position in pixels
  • y number - Vertical position in pixels

Moves the Windower console to the specified position. The numbers can be floating point values as well

windower.console.visible()

Returns true if the console is currently up (triggered by the user-specified console key), otherwise false.

windower.console.write(text)

  • text string - String to write to the console

Writes the specified string to the console. Added for compatibility, the print command is the preferred way to output to the Windower console.

⚠️ **GitHub.com Fallback** ⚠️