Hi @FredGuillot,
The touchStarted() function is called once after every time a touch is registered. If no touchStarted() function is defined, the mousePressed() function will be called instead if it is defined.
As suggested here you can remove the touchStarted and just use mousePressed for both …
Afterwards use mouseX and mouseY to get the location. On my mobile it works …
Cheers
— mnse