paintutils.drawPixel
From ComputerCraft Wiki
| Draw a pixel on the screen at x and y, with color color. Note that the cursor will be moved and background color will be changed by this function. | |
| Syntax | paintutils.drawPixel(number x, number y, number color) |
| Returns | None |
| Part of | ComputerCraft |
| API | paintutils |
Examples
| Draws a red pixel at the position (10, 8). | |
| Code |
paintutils.drawPixel(10, 8, colors.red) |