Use arrow keys. Some optimisations have been added.
In response to the forum post @megamonk made in the Help with Scripts discussion section.