Making an object visible/invisible

Why would you try hide an actor when clearly the weapon is a component ?