DARKBASIC PRO 3d WORLD EDITORJoined: 2nd May 2012 Location:
Posted: 20th Apr 2015 20:10
[/code]function Icon_Read(spr,x1,y1) if mousex()>x1 and mousex()<x1+sprite width(spr) if mousey()>y1 and mousey()<y1+sprite height(spr) value=mouseclick() set sprite diffuse spr,20,20,250