property oldloc
on beginsprite me
oldloc = the mouseLoc
end
on exitframe me
if the mousedown then
x1 = oldloc[1]
y1 = oldloc[2]
x2 = (the mouseLoc)[1]
y2 = (the mouseLoc)[2]
(the stage).image.draw(x1,y1,x2,y2,rgb(0,0,0))
oldloc = the mouseLoc
end if
end