I have a function. The goal is to return the index for a given value within an array. The parameters I use are Array (type: Scene Variable) → the array to search in and the value to look for (“Value”, type Number). I need to use the value of the parameter “Array” within the “for each child” loop. But I cannot find the right syntax. I thought there would be a third option next to GetArgumentAsString() and GetArgumentAsNumber(), perhaps GetArgumentAsReference(), but I did not find anything on this topic.
I can utilise the parameter within the loop.
The parameter does not get recognized and the loop does not run at all.