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