Velocity control sliders Position

Hi,

I’m controlling the X position with note number (I made surface control)
but I wish to control Y (or any sliders) position with the velocity
The problem is that when you release the note (note off message) the Y position fall to 0
any solution ?