sensors.touch1.onEvent(ButtonEvent.Pressed, function () { }) sensors.touch2.onEvent(ButtonEvent.Bumped, function () { }) sensors.touch3.onEvent(ButtonEvent.Released, function () { }) sensors.touch4.isPressed(); sensors.touch4.wasPressed();