Code: Select all
local tmyWidth
local tmyHeight
local sX
local sY
on mouseDown
put the location of me into tMyLocation
put item 1 of tMyLocation into sX
put item 2 of tMyLocation into sY
put the width of me into tmyWidth
put the height of me into tmyHeight
set the width of me to (tmyWidth / 1.1)
set the height of me to (tmyHeight / 1.1)
set the location of me to sX, sY
send mouseUp to me in 3 seconds
end mouseDown
on mouseUp
set the width of me to tmyWidth
set the height of me to tmyHeight
set the location of me to sX, sY
end mouseUp
Thanks!