Scripting

Search The Documentation:

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

self

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

obj.self() is generally equivalent of -1 unless you specifically add an object to its own object list with storeSelf or via other code that adds the object to its list of “picked” objects.

Commands that request an object index will accept obj.self()

returns an Integer (whole number) value

Was this article helpful to you? Yes No

How can we help?