SetWindowTitle

From The Official Visionaire Studio: Adventure Game Engine Wiki

setWindowTitle

Available since: v4.0
Sets the window title.

Lua Syntax:

setWindowTitle(WindowTitle)

Arguments

WindowTitle

"string" - Title bar name of display window.

Flags

Return Values

None.

Examples

Example 1: basic set window title command

setWindowTitle("my new game title")

Example 2: set window title based on current users system language

sysLang = getProperty("system_language")
if sysLang == "English" then
  setWindowTitle("my demogame")
elseif sysLang == "German" then
  setWindowTitle("mein Demospiel")
end