Type Function Return value Numbers Revision Release 2024.3703 Keywords MemoryBitmap, getPixel See also MemoryBitmap MemoryBitmap:setPixel() memoryBitmap.newTexture() memoryBitmap.*
Returns color components of a specified pixel in the range of 0
to 1
for each component.
local r, g, b, a = bitmap:getPixel( x, y )
Numbers. The x and y pixel coordinates to be fetched.