Costrain Cursor Win10 vs Mac Osx

Compatibility Problem.

Hello everyone, I have a problem with the window perform between Win10 and Mac M1. I want to Constraint the mouse cursor with the specific function and select “window”. In Win 10 I have no problems, on Mac with Touchplayer, it doesn’t work.
Does someone know the solution?