screen.screen.get_color
Declaration
lua
screen.get_color(x, y)
Description
Get pixel color as hex integer.
Parameters
`x,y` (number) — coordinates
Return Values
`number` — hex color (0xRRGGBB)
Example
lua
local c = screen.get_color(375, 667)