For example:
WHILE 1 'Start infinite loop
IF BUTTON() AND #LEFT THEN:X=X-1
IF BUTTON() AND #RIGHT THEN:X=X+1
IF BUTTON() AND #UP THEN:Y=Y-1
IF BUTTON() AND #DOWN THEN:Y=Y+1
LOCATE X,Y:?"@";
'Moves text cursor to X,Y and prints @ without adding a line break
VSYNC 'Wait a frame
WEND 'End infinite loop
1そうだね プレイ済み