4 ms·
One possible solution: * If you click with the "left" button on a "grey" or "white" pixel, then you draw with a "black" color until you release the button. *
by gus_massa 15y ago
One possible solution:
* If you click with the "left" button on a "grey" or "white" pixel, then you draw with a "black" color until you release the button.
* If you click with the "left" button on a "black" pixel, then you draw with a "grey" color until you release the button.
* If you click with the "right" button on a "grey" or "black" pixel, then you draw with a "white" color until you release the button.
* If you click with the "right" button on a "white" pixel, then you draw with a "grey" color until you release the button.