
-----------------------------------
Canibalistic Cow
Sat Jan 16, 2010 4:13 pm

Having troubles with my button
-----------------------------------
What is it you are trying to achieve?
Make clickable button (make the button with the drawfilloval command)


What is the problem you are having?
half the button is clickable the other half isnt


Describe what you have tried to solve this problem
I went to all threads i have seen on this site, i have gotten the code for this button from http://compsci.ca/v3/viewtopic.php?t=3583&postdays=0&postorder=asc&start=15 (buttons for dummies)


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)




var mx, my, mb : int 
var r := 60 
loop 
    mousewhere (mx, my, mb) 
    if mb = 0 then 
        drawfilloval (60, 60, r, r, blue) 
    end if 
    if mb = 1 and mx ** 2 + mb ** 2 