Multi XY current point selection

Something like this should do

// onCreate:
var touchedPoints = {}
for (var i=0; i<getProp(this, 'points'); i++) {
  touchedPoints[i] = false
}
setVar(this, 'touchedPoints', touchedPoints)
// onTouch
if (event.handle !== undefined) {
  var touchedPoints = getVar(this, 'touchedPoints')
  touchedPoints[event.handle] = event.type == 'start' // true or false
  setVar(this, 'touchedPoints', touchedPoints)
}
// any scripting property
var multixyTouchedPoints = getVar('mulixy_id', 'touchedPoints')
var point0Touched = multixyTouchedPoints[0]