How to detect a clickable area (coloured grey in this instance) inside an image sprite (back color is black)
on mouseleave me
cursor 0
end
on mouseenter me
thename= sprite(me.spritenum).member.name
theimage=member(thename).image
end
on mousewithin me
thename=sprite(me.spritenum).member.name
pointinmember= sprite(me.spritenum).mapstagetomember(_mouse.mouseloc)
theimage=member(thename).image
thepix=theimage.getpixel(pointinmember)
if thepix=color( 128, 128, 128 ) then
cursor 3
else
cursor 0
end if
end
<3 imaging lingo!!111 ;D