Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Actions
  5. setAction

setAction

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Replace or add an action by name for a set of tags

Parameters:

  • name
    • A string value
  • tagsList
    • A string value
  • tagScript Optional<
    • A string value
  • affectSelf Optional
    • A boolean value
  • onTrigger Optional
    • A boolean value

Example:

1
obj.setAction(name, tagsList, tagScript, affectSelf, onTrigger)
Tags
Was this article helpful to you? Yes No

How can we help?