SOURCE

let x=200
let y=60
function setup(){
    createCanvas(500,500);
}
function draw(){
    if(keylsPressed){
        if(keyCode==37){
            x-=5;
        }
        elseif(KeyCode==39){
            x+=5;
            
console 命令行工具 X clear

                    
>
console