Your code
Put mouseX into the line.
Console
Results
0%
Press Run to check your code
Your code has an error
Put mouseX into the line.
Why not 100%?
Penalties: none this run
And mouseX inside the release handler is where the button came back up, which can be somewhere completely different. The two presses here both let go further right than they started.
Put mouseX into the line.
Put mouseX into the line.
Put mouseX into the line.