Code: Select all
if intersect(button thingGrabbed, graphic thingGrabbed, 1) then
move button thingGrabbed to the points of graphic (thingGrabbed & "hilite") without waiting
else
set the icon of button thingGrabbed to (thingGrabbed & "big")
set the width of button thingGrabbed to the width of img (thingGrabbed & "big")
set the height of button thingGrabbed to the height of img (thingGrabbed & "big")
move button thingGrabbed to the loc of img (thingGrabbed & "big") in .5 seconds without waiting
end if
Code: Select all
if intersect(me, graphic (the short name of me), 1) then
move me to the points of graphic ((the short name of me) & "hilite") without waiting
end if