Tap a string or swipe across them all.
Dmaj7: index finger on the G string, 6th fret, middle finger on the B string, 7th fret, don’t strum: g