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