Need help with mousePressed

Hi.
I am new to programing and have been playing around with mousePressed on p5.js for a while.
But have now gotten stuck when trying to get a circle to move from the left side to the right side of the screen in just one click.
My problem is that i can’t get the circle to move or only move the distance speed i have set it to go evey time i click.

link to my code.

Note:
I have been trying to follow a video that is doing the same thing and even tho it feels like i have fully followed the same steps as in the video it does not work.