I am working on my university project and came across an issue. I am creating a visualisation for some data and want to use mousePressed() for different events, but when I t