The array of items to be searched by this action.
The comparison object. Each property in this object will be checked against the items of the array.
Optionalindex: numberAn optional offset to start searching from within the items array. Default 0.
Takes an array of objects and returns the last element in the array that has properties which match all of those specified in the
compareobject. For example, if the compare object was:{ scaleX: 0.5, alpha: 1 }then it would return the last item which had the propertyscaleXset to 0.5 andalphaset to 1.To use this with a Group:
GetLast(group.getChildren(), compare, index)