Make the mouse appear or disappear in function of position and custom mouse cursor

Hey everyone, I’m very new on psychopy so maybe what I’m trying to do is actually very easy.
I’m trying to make my mouse cursor disappear for it not to be on the stimulus display at the center (make the mouse disappear if it is in the rectangle at the center of my screen).
Until now I try several things but my mouse don’t want to disappear:

  • mouse.visible = False
  • win.mouseVisible = False

I also try to custom my mouse cursor, but I can’t make the “typical” cursor disappear, the new and the “typical” cursor are displayed at the same time, any idea how to only display the new cursor ?

Thanks in advance for your help!