microbit.display.getPixelValue
Appearance
Returns the brightness value of one display pixel.
Function
Synopsis
microbit.display.getPixelValue(number, number)
Arguments
- `x` — A Lua number.
- `y` — A Lua number.
Returns
A number when the coordinates are valid; otherwise no value is returned.