Download

Find in array input?

So I’ve got a jigsaw puzzle game I am making and it’s mostly functional now but I ran into a problem with my scripts when publishing to Android. It seems that my script breaks on mobile because the script relies on breaking apart the actor name when checking overlaps and on PC it works fine but apparently in the conversion to mobile it changes the actor names and no longer works.
Anyway I am trying to go back to sorting out my original solution which is to use an array. When the puzzle is generated all the pieces are put into an array. What I need to do now is check that array for the current piece that is being overlapped when the player drags a piece. I am trying to use the FIND array node but I can’t seem to get the hit actor from the hit results to input to the FIND node in the array.