Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. GameState
  5. setGlobalFloat

setGlobalFloat

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set a global float

Parameters:

  • name
    • A string value
  • value
    • A float value

Example:

1
obj.setGlobalFloat(name, value)
Tags
Was this article helpful to you? Yes No

How can we help?