Jarrod . said: @stephen- thanks for that explanation. That makes a lot of sense. :) @alex- you and Stephen are a power team! I can't wait to see what kind of stuff you two are going to come up with next! :P Alex is saving me from my reach exceeding my grasp! Updated the script so the paths are their own object... Will work Alex's stuff into the !light action which goes to this function: setPaths = function() { readMap(); log(pathArray); }; created pathArray for each random map now looks like this for a small random map... (in part, not posting the entire array) ....{"left":420,"top":420,"rotation":180,"path":"[[840,735],[805,735],[805,805],[735,805],[735,840]]"}, {"left":420,"top":420,"rotation":180,"path":"[[0,105],[35,105],[35,35],[105,35],[105,0]]"}, {"left":420,"top":420,"rotation":180,"path":"[[0,315],[35,315],[35,385],[385,385],[385,35],[315,35],[315,0]]"}, {"left":420,"top":1260,"rotation":180,"path":"[[840,735],[805,735],[805,805],[735,805],[735,840]]"}, {"left":420,"top":1260,"rotation":180,"path":"[[315,840],[315,805],[385,805],[385,315]]"}, {"left":420,"top":1260,"rotation":180,"path":"[[0,735],[35,735],[35,805],[105,805],[105,840]]"}, {"left":420,"top":1260,"rotation":180,"path":"[[0,525],[35,525],[35,315]]"}, {"left":420,"top":1260,"rotation":180,"path":"[[0,105],[35,105],[35,35],[105,35],[105,0]]"}, {"left":420,"top":1260,"rotation":180,"path":"[[0,315],[35,315],[385,315],[385,35],[315,35],[315,0]]"}, {"left":420,"top":2100,"rotation":-90,"path":"[[805,420],[400,805]]"}, {"left":420,"top":2100,"rotation":-90,"path":"[[315,0],[315,35],[525,35],[525,0]]"}, {"left":420,"top":2100,"rotation":-90,"path":"[[840,105],[805,105],[805,35],[735,35],[735,0]]"}, {"left":420,"top":2100,"rotation":-90,"path":"[[0,105],[35,105],[35,35],[105,35],[105,0]]"}, {"left":420,"top":2100,"rotation":-90,"path":"[[0,315],[35,315],[35,525],[0,525]]"}, {"left":420,"top":2100,"rotation":-90,"path":"[[840,315],[805,315],[805,525],[840,525]]"}....