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