> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinemation.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Set bone visibility

> Use BP_AnimNotify_SetBoneVisibility for frame-specific animation events.

export const Notify = ({notifyName, example, graphImage}) => <>
    <p><code>{notifyName}</code> hides or unhides a bone on the mesh playing the animation. This is useful when a magazine or another mesh part must disappear during an action.</p>

    <h2 id="add-it-to-an-animation">Add it to an animation</h2>

    <ol>
    <li><p>Open the Animation Sequence or Montage used by the relevant mesh.</p>
    </li>
    <li><p>Right-click a notify track at the desired frame and choose <code>{notifyName}</code> from <strong>Add Notify</strong>.</p>
    </li>
    <li><p>Select the notify and configure its exposed settings in <strong>Details</strong>.</p>
    </li>
    <li><p>Preview the timing, then test the action in play with the owning actor present.</p>
    </li>
    </ol>

    {example}
    <h2 id="settings">Settings</h2>

    <table>
    <thead><tr><th>Property</th><th>Use</th></tr></thead>
    <tbody><tr><td><code>MagBoneName</code></td><td>Bone to hide or show on the animated mesh.</td></tr>
    <tr><td><code>Hide</code></td><td>Enabled calls <code>Hide Bone by Name</code>; disabled calls <code>Un Hide Bone by Name</code>.</td></tr></tbody>
    </table>

    <p>The notify operates on <code>MeshComp</code>, the mesh playing the animation. It does not search for another weapon or character mesh.</p>

    <p>Visibility persists after the notify fires. Add a matching show notify, and restore visibility when an interrupted action needs cleanup.</p>

    {graphImage}
  </>;

export const Example = () => <><h2>Example: customize a Sci-Fi animation</h2><p>For a replacement Sci-Fi reload, use a copy of the weapon animation and select the magazine bone from that weapon's Skeleton. Hide it when it should disappear and unhide it when it returns.</p></>;

<Notify notifyName="BP_AnimNotify_SetBoneVisibility" example={<Example />} graphImage={<Frame caption="BP_AnimNotify_SetBoneVisibility acts on the mesh playing the animation."><img src="https://mintcdn.com/kinemation/SNGN1MO-2cou2Sl-/images/kinemation/unreal/BP_AnimNotify_SetBoneVisibility_Received_Notify_00000.png?fit=max&auto=format&n=SNGN1MO-2cou2Sl-&q=85&s=9e6a98b82952f9534989262c288b5583" alt="BP_AnimNotify_SetBoneVisibility Received Notify graph" /></Frame>} />
