I feel like I must apologize for creating an topic just for asking such an elementary question, so sorry for that. I didn't find a clue for this anywhere! To the point: I'm trying to declare an the values of an array literally. No "for loops", just straight to the point.
//I'm declaring it globally, as such: int [] previousCoordinates;
//Afterwards, I'm attempting to put some values in it, as such: if (mousePressed)
{
//Processing points to an error in the following line, stating a Syntax error and "possibly missing a ] character"
previousCoordinates = new int [ mouseX, mouseY],
}
I've also tried using the "previousCoordinates = { mouseX, mouseY }" syntax, but then an Unexpected Token error occurs.