Hide equip weapon with triggerbox

i equipt a weapon with a socket on the right hand and i want hide the weapon if the character are in the triggerbox.