Finger sliding to move

In my game for mobile version the characters move by buttons and its would be super helpful if I could slide my finger from one button to another to move in different directions. My fear is that when u slide of the button and release the character will break and will get stuck moving in one direction because that happened to me before.