I put in the code into processing but I get the error saying that there is an unexpected token: mouseX
I know that I am not supposed to put mouseX and mouseY as variables but why is it still not working?
//variables
//Define stickman
void alien() {
fill(144,144,144);
rectMode(CENTER);
rect(100,100,20,100);
fill(9,90,15);
ellipse(100,75,70,70);
fill(255,0,0);
ellipse(81,70,16,32);
fill(255,0,0);
ellipse(119,70,16,32);
line(90,150,80,160);
line(110,150,120,160);
}
void setup() {
size(500,500);
}
// Void Draw
void draw() {
background(255);
}
void alien(mouseX,mouseY);
1