Swipe with modifier key isn't working....

hi @Andreas_Hegenberg (or anyone else...)
im trying to add something in my touchbar where i swipe left with one finger to close a group. however, i have sliders, such as a true-tone slider, that stop working when i have this feature. so i tried to compensate by making it so u have to hold command for the 'close group' gesture to work, but this didn't work. i could shut a group without having to hold command.
please help?
thanks