Playing short notes (staccato)

Its important to be able to shorten your notes (also called staccato notes) and muting unwanted strings from ringing especially when playing more syncopated styles (funk/fusion)
I use the right hand in a walking motion to do that
1’st finger pluck G string and immediately rest on a string lower , muting unwanted ringing, while the 2’nd finger stops the G string for the preferred length of note – difficult to explain, easier to see in action
I use a basic alternating 2 finger technique 1212 1212 1212 1212