How to use BTT gestures to control another Mac from a Mac by sidecar connection?

I connect mac A with mac B, both of them installed BTT. When the mouse move from mac A(main mac) to mac B(secondary mac), the gesture in mac B doesn’t work.