Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Script Specific
  5. checkLuaVar

checkLuaVar

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Check a LUA variable on self or another object’s script (returned as string)

Parameters:

  • variable
    • A string value
  • index Optional
    • An integer value

returns a String (text) value

Example:

1
obj.checkLuaVar(variable, index)
Tags
Was this article helpful to you? Yes No

How can we help?