# On Color Detected

```sig
sensors.color1.onColorDetected(ColorSensorColor.Blue, function () { })
```

# Parameters

## Examples


```blocks
sensors.color1.onColorDetected(ColorSensorColor.Blue, function () {
    brick.showImage(images.expressionsSick)
})
```
