Scripting

Search The Documentation:

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

runLuaFunction

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Run a LUA function or script on another object or self if index not provided

Parameters:

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

Example:

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

How can we help?