paintutils.drawPixel
From ComputerCraft Wiki
| Draw a pixel on the screen | |
| Syntax | paintutils.drawPixel(number x, number y, number color) |
| Returns | nil |
| Part of | ComputerCraft |
| API | paintutils |
Examples
| This code will draw a red pixel at the position (10, 8) | |
| Code |
image = paintutils.drawPixel(10, 8, colors.red) |