I am working on an interface that involves the use of the multiXY widget and I am trying to figure out how to send a 'null' message via OSC when a touch is removed. I have tried using the oscManager.sendOSC(); in both the window.removeTouch() function and within the widget itself with no luck. Any help would be appreciated.
window.removeTouch = function() {
var multi = window.multi;
var touchToKill = multi.children.pop(); /* remove last child and map to variable */
multi.container.removeChild(touchToKill); /* remove from web renderer */
oscManager.sendOSC('/multi/' + touchToKill, 'f', 'null');
}