Tv GetPixel

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<Color

tv_GetPixel x y

Indicates the color of a pixel in the current image in the current layer. The x and y arguments are the coordinates of this pixel. This command returns the red, green, blue and alpha information, defining the values of the color components used by the pixel. Each value is between 0 and 255.