Implementing if then else logic for actions

It's a bit complicated. You can assign the "Run Apple Script" action and then call various named triggers you defined from that script, however you'd need to determine the current mouse position in the script and then trigger the "named trigger" based on that.

This is an example (old UI, but works the same now) of how to trigger named triggers via Apple Script Toggle mousedown & mouseup

Problem would be how to get the current mouse position in the Apple Script.