paintutils.drawPixel
From ComputerCraft Wiki
Revision as of 01:05, 20 August 2013 by TheOriginalBIT (Talk | contribs) (Removed code implying it had a return value)
Function paintutils.drawPixel | |
Draw a pixel on the screen | |
Syntax | paintutils.drawPixel(number x, number y, number color) |
Returns | nil |
Part of | ComputerCraft |
API | paintutils |
Examples
Example | |
This code will draw a red pixel at the position (10, 8) | |
Code |
paintutils.drawPixel(10, 8, colors.red) |