 The voltage of the top layer provides one coordinate.Disconnecting those two edges, and applying voltage to the other two, formerly unconnected, provides the other coordinate.Alternating rapidly between pairs of edges provides frequent position updates.