Mouse gestures not working

I tried to create mouse gesture from ‘shortcuts and gestures>custom shortcuts>new>mouse gesture action’, and i was able to assign trigger gesture and action but when i try to implement the gesture it doesn’t work. It doesn’t draw a gesture line when i press and hold the right mouse button which i assigned as gesture button. Does anyone else have this problem?