Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Math
  5. pick

pick

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Pick random from array, technically as strings

Parameters:

  • items
    • A string value

returns a String (text) value

Example:

1
obj.pick(items)
Tags
Was this article helpful to you? Yes No

How can we help?