let direction = move_button.id.split('_')[2].toUpperCase();
move_button.onclick = function() {
if (tui.mode.available_actions.includes("move")) {
let direction = move_button.id.split('_')[2].toUpperCase();
move_button.onclick = function() {
if (tui.mode.available_actions.includes("move")) {