A Boolean
variable that's true
if the browser is focused and false
if not.
Note: The browser window can only receive input if it's focused.
Examples
Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!