Simulating two finger swipe

Hey! I'm interested in bind a mouse button to behave like a two finger swipe when held. Is this possible? I looked in both the mouse click options section, as well as the mimicking standard gestures section, but there was only a 3-finger swipe, not a 2 finger one.

I found a ton of documentation online for going from a 2 finger gesture to an action, but Im interested in going the other way, from an action (mouse button drag) to a 2 finger gesture.

unfortunately there are no API's for creating gestures programatically. However many use cases can be simulated using other means (e.g. assigning keyboard shortcuts or using the predefined action "trigger menubar menu-item)