Scripting

Search The Documentation:

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

runInterval

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Make a script run at intervals or not. This is different than onFrameTick as it will re-evaluate the whole script each time it runs. This generates a lot of overhead memory usage if misused, but is available if need be.

Parameters:

  • index
    • An integer value
  • time
    • A float value
  • active Optional
    • A boolean value

Example:

1
obj.runInterval(index, time, active)
Tags
Was this article helpful to you? Yes No

How can we help?