diff --git a/scripts/UI/Core/inkCompoundWidget.reds b/scripts/UI/Core/inkCompoundWidget.reds new file mode 100644 index 00000000..3bbf6f68 --- /dev/null +++ b/scripts/UI/Core/inkCompoundWidget.reds @@ -0,0 +1,4 @@ +@addMethod(inkCompoundWidget) +public func GetChildIndex(child: wref) -> Int32 { + return ArrayFindFirst(this.children.children, child); +}