ToolItemGroup.getItemPosition

Gets the position of item in group as index.

class ToolItemGroup
int
getItemPosition

Parameters

item ToolItem

Return Value

Type: int

the index of item in group or -1 if item is no child of group

Meta

Since

2.20