can take an input of three chars and execute movement automatically