Get Index

Get Index

Choose your operating system:

Windows

macOS

Linux

Returns the index of an element given its key

Target is Rig Hierarchy

Get Index
Target
Select Asset
In Key
Return Value
0

Inputs

Target
Rig Hierarchy Object Reference
In Key
Rig Element Key Structure

The key of the element to retrieve the index for

Outputs

Return Value
Integer

The index of the element or INDEX_NONE