if Input.trigger?(:UP) or Input.press?(:UP) if Input.trigger?(:LEFT) or Input.press?(:LEFT) move_digaonal(4,8) end end