I know. I didn't do well on this jam and it's very rushed.
mouseX controls the specified game property (sgp) based on the position of the mouse. When the mouse is on the far left side of the screen, the sgp is at its lowest value, when it's on the far right side of the screen, the sgp is at its maximum value.
Same goes for mouseY