pixel

MJS / AC Piece API / graphics / done
pixel(x, y) -> [r, g, b, a]

Read a single pixel color from the current active painting buffer.

Parameters

Name Type Required Description
x, y number yes Pixel coordinates.

Returns

[r, g, b, a]

Examples

Open prompt ยท Permalink

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview