Scripting

Search The Documentation:

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

setStoredTag

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Change tags on a stored object

Parameters:

  • index
    • An integer value
  • tag Optional (leave blank for “Untagged”)
    • A string value
  • affectCollider Optional
    • A boolean value

Example:

1
obj.setStoredTag(obj.self(), "Friend", false)
Tags
Was this article helpful to you? Yes No

How can we help?