Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Detect if window is active
« previous
next »
Print
Pages: [
1
]
Author
Topic: Detect if window is active (Read 943 times)
DurkaDude
November 09, 2017, 01:54:57 AM
How would I detect if the Blockland window is active and the user doesn't have the window minimized? I'm making a mod that adjusts the shader quality depending on the framerate and don't want the user clicking off the window to drop the shaders to 0.
Ad Bot
Advertisement
mctwist
November 10, 2017, 05:19:47 PM
There's a function that is called whenever you select the window again:
Code:
[Select]
onWindowReactivate()
Sadly, I didn't see any function for deselecting the window.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Detect if window is active