Garry's Mod Wiki

system.HasFocus

system.HasFocus

  boolean system.HasFocus()

Description

Returns whether or not the game window has focus.

This function does not work on dedicated servers and will instead return no value.

Returns

1 boolean
Whether or not the game window has focus.

Special Pages


Wikis

?

Render Time: 42ms

DB GetPage 9
Generate Html 2
SaveChanges (1) 22
Render Body 0
Render Sidebar 7