2018-01-06 04:14:55 +01:00
|
|
|
sensors.touch1.onEvent(TouchSensorEvent.Pressed, function () {
|
2017-11-29 01:11:15 +01:00
|
|
|
})
|
2018-01-06 04:14:55 +01:00
|
|
|
sensors.touch2.onEvent(TouchSensorEvent.Bumped, function () {
|
2017-11-29 01:11:15 +01:00
|
|
|
})
|
2018-01-06 04:14:55 +01:00
|
|
|
sensors.touch3.onEvent(TouchSensorEvent.Released, function () {
|
2017-11-29 01:11:15 +01:00
|
|
|
})
|
2018-01-06 04:14:55 +01:00
|
|
|
sensors.touch4.isPressed();
|
|
|
|
sensors.touch4.wasPressed();
|