savepix reads the colour of the pixel at x, y in the client window. It stores it in
#PixCol and in a numbered slot, together with the position, for
cmppix to compare later.
Parameters
Section titled “Parameters”| Parameter | Meaning |
|---|---|
x, y |
Position in the client window. |
slot |
Slot number, 0 to 1000. |
colour |
Optional. Store this colour instead of reading the screen; #PixCol is not changed. |
Pixels are read from the screen, so the client window has to be visible, not covered by another window.
Example
Section titled “Example”; remember the colour under the mouse in slot 1savepix #CursorX #CursorY 1display ok Colour #PixCol savedhaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.