08-07-2023, 10:57 PM
(08-07-2023, 10:03 PM)justsomeguy Wrote:Quote:This is only problematic if a zone has sub-zones.Sub zones aren't really a problem.
Code: (Select All)_DEST hiddenScreen
finalColor = _RGBA32(zone, subzone, subsubzone,subsubsubzone)
LINE(10, 10)-(30 ,20), finalcolor, BFCode: (Select All)DO WHILE _MOUSEINPUT ' Check the mouse status
mx = _MOUSEX
my = _MOUSEY
LOOP
_SOURCE hiddenScreen
pt = POINT(mx,my)
zone = _red(pt)
subzone = _green(pt)
subsubzone = _blue(pt)
subsubsubzone = _alpha(pt)
_SOURCE 0
Oh yeah, rbga components. I was just thinking "a color".
That's brilliant!