(its in dutch but the problem lies within if(mousePressed))
The problem i now have is that as long the button is pressed the counter increases like crazy. I couldnt find a mouseClicked/mouseReleased Variable in the reference, only a function, and i dont want to use that function becouse i have multiple screens in my program.