Documentation
›
API Reference
›
Object
›
Widget
SetBool
Lua
C++
This function sets a user-defined boolean variable in a widget script.
Syntax
SetBool
(string name, boolean value)
Parameters
name:
name of the variable to set.
value:
value to set.