So, was a bit surprised why this:
Code: Select all
on arrowKey AK
put item 1 of the loc of grc "rp" into LR
put item 2 of the loc of grc "rp" into UD
switch AK
case "left"
subtract 10 from LR
move grc "rp" to LR,UD
pass arrowKey
break
case "up"
subtract 10 from UD
move grc "rp" to LR,UD
pass arrowKey
break
case "right"
add 10 to LR
move grc "rp" to LR,UD
pass arrowKey
break
case "down"
add 10 to UD
move grc "rp" to LR,UD
pass arrowKey
break
end switch
end arrowKey
Possibly I have misunderstood the role of 'pass'.