IsMTAWindowFocused: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 October 2022

  • curprev 15:0615:06, 8 October 2022LopSided talk contribs 708 bytes +708 Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.5.9|21313| This function returns whether the MTA window is focused or not.}} ==Syntax== <syntaxhighlight lang="lua"> bool isMTAWindowFocused() </syntaxhighlight> ===Returns=== Returns ''true'' if the focus is on the MTA window, ''false'' if not. ==Example== This example prints the window focus state to debug output upon usage of the command (''focused'') <syntaxhighlight lang="lua"> function getWindowFocus()..."