Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Object Data
  5. findWithName

findWithName

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Find the first one with partial match to name and get index value. Picks from a list of objects we have already stored. Use obj.tryStore() to find objects first!

Parameters:

  • name
    • A string value
  • looseCheck Optional
    • A boolean value

returns an Integer (whole number) value

Example:

1
obj.findWithName(name, looseCheck)
Tags
Was this article helpful to you? Yes No

How can we help?