Scripting

Search The Documentation:

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

getUID

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

obj.getUID(index) returns an integer (whole number) value of the Unique ID (UID) value for the picked object. Putting -1 or obj.self() as the index value instead returns the UID of the object running the script.

returns an Integer (whole number) value

Tags
Was this article helpful to you? Yes No

How can we help?