thank you for replying again:), I keep getting a string index error so I added the i<wordlength() aspect but i keep getting the same error. I also never new about that aspect of the draw function!
int x;
int y;
String word="";
int i=0;
void setup() {
size(500, 500);
}
void draw() {
x=int(random(25, 450));
y=int(random(25, 450));
textSize(25);
fill(0);
text(word.charAt(i), x, y);
if(frameCount % 10 == 0 && i<word.length())
i++;
}
void keyPressed() {
word+=key;
}