How would you implement sliding?

Would love to see a youtube tutorial of this please!