I correctly understood, you need the values of variables from the actor, which you get from 2nd loop as array element? Then why you think that interface don’t work?
And about compiler errors – if you will use interface, make sure that input type of 2nd array is object or actor.
As example: