Change velocity/animation based on mouse position

How do i change character animation and falling velocity based on mouse movement on the y axis, trying to make a gliding effect where the character falls faster when looking down