xxxxxxxxxx
when
clicked
Starts the script.
forever
if
key
up arrow
pressed?
then
repeat
until
not
key
up arrow
pressed?
change
y
by
10
moves in wanted direction
repeats until key is not pressed
if key is pressed
if
key
down arrow
pressed?
then
repeat
until
not
key
down arrow
pressed?
change
y
by
-10
if
key
right arrow
pressed?
then
repeat
until
not
key
right arrow
pressed?
change
x
by
10
if
key
left arrow
pressed?
then
repeat
until
not
key
left arrow
pressed?
change
x
by
-10
lets the script repeat