2467b3c4c9
* renaming pauseforcolor to pause until color detected * pauseForLight -> pauseUntilLightConditionDetected * on light changed -> on light condition detected * fixing docs * docs tweaks
322 B
322 B
Light the way Activity 2
sensors.color3.onLightConditionDetected(LightIntensityMode.Ambient, LightCondition.Bright, function () {
brick.clearScreen()
})
sensors.color3.onLightConditionDetected(LightIntensityMode.Ambient, LightCondition.Dark, function () {
brick.showImage(images.objectsLightOn)
})