function YourGunImage::onMount(%this,%obj,%slot)
{
parent::onMount(%this,%obj,%slot);
%obj.prevHand = %obj.isNodeVisible("rHand");
%obj.hideNode(rHand);
%obj.hideNode(rHook);
}
function YourGunImage::onUnMount(%this,%obj,%slot)
{
parent::onMount(%this,%obj,%slot);
%obj.unhideNode((%obj.prevHand ? "rHand" : "rHook"));
}
actually you should do something like this unless you want the player having both the hand and hook visible when unmounting the image