Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

text

This function creates and displays text over top of the waywall window.

The options table can have the following options, of which x and y are non-optional:

{
    -- absolute location of text in waywall window
    x = 100,
    y = 100,

    -- color of text (optional)
    color = "#abcdef",

    -- size of text (optional)
    size = 1,

    -- optional
    depth = 0,

    -- optional
    shader = "shader_name"
}

Arguments

  • text: string
  • options: table

Return values

This function cannot be called during startup.