Code: Select all
on moveBox
   if keysdown() = 65362 then
      set the top of the button "box" to the top of the button "box" - 1
   end if
   if keysdown() = 65364 then
      set the bottom of the button "box" to the bottom of the button "box" +1
   end if
   if keysDown() = 65361 then
      set the left of the button "box" to the left of the button "box" - 1
   end if
   if keysdown() = 65363 then
      set the right of the button "box" to the right of the button "box" +1
      end if
