Surface.getAt

Gets the pixel color in the dsdl2.Surface at the given coordinate

class Surface
const
getAt
(
uint[2] xy
)

Parameters

xy uint[2]

X and Y values of the coordinate

Return Value

Type: Color

the pixel color

Meta