You should be able to turn the mouse to visible or invisible with a code snippet. mouse.setVisible(False) or mouse.setVisible(True)
At the moment the expected behaviour is that the experiment settings
controls the visibility of the mouse throughout the experiment - there actually is no setting in the mouse component itself to control its visibility (though that is an interesting idea we could consider for sure!)