mouseMoved

fun mouseMoved(x: Float, y: Float)

call this function to update the mouse position.