Identifying Far Left and Far Right Panels

Started by gtt1229

gtt1229

Hello,

I don't quite understand the location section of the API.

Assuming the panels are not in a circle and more of a line, how can I create an array of them from "left" (first) to "right" (last)?

Assuming 4 panels in this shape:

/\ \/ /\ \/

Does a method exist to convert location to directly connected neighbors or something?