What i ment is in {RoG}xXMADEXx code the showCursor function's value is set to guiGetVisible, But if you use the state variable ( which as you said Already have not when defining in it. ) Then {RoG}xXMADEXx code should look like this :
function windowAdjusting()
guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1]))
showCursor(not guiGetVisible(GUIEditor_Window[1]))
end
bindKey("F4","down",windowAdjusting)
But i know that this will revers the function, so how can it be correct ?