hideCursor() clear() resetCursor() flush() x = getWidth() / 2 y = getHeight() / 2 for i = 0 to 500 x = x + random(0-1, 1) y = y + random(0-1, 1) if x < 0 x = 0 end if y < 0 y = 0 end if x > getWidth() - 1 x = getWidth() - 1 end if y >= getHeight() - 1 y = getHeight() - 1 end resetCursor() print(x, " ", y) moveCursorRight(x) moveCursorDown(y) print("X") flush() sleep(0, 1000000) end sleep(2, 0)