Setting Player's Hand 'visible to all players' checkbox

Hi, can I set the ‘Is visible to all players?’ check box using a button. This check box is located in the ‘Player’s hand’ or a ‘Map Board’. I don’t know if this is a property that can be set using a button.

If there’s a way to allow a player to view another player’s hand temporarily (via a button or otherwise), I don’t know it. In a fantasy game that I have, a player may be able to see what spells another has. What I did was create a “View” map window where the player can send their spells to. The viewing player can then open the “View” window, view the spells and send them back.