Guide 1 Docs 2 Reference 3

Method of Picture

picture:set

Paints one pixel; (0, 0) is the top-left.

picture:set(x: number, y: number, color: Ink)

Parameters

xnumberrequired
ynumberrequired
colorInkrequired