用途別リファレンス

オブジェクトを動かす

クリックした時に動作をする

while(true){
  if(getkey("mouseleft")==1){
    $Score+=10;
  }
update();
}
左クリックした時に$Scoreを10増やす。