> ## 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.

# Play sound

> Use BP_AnimNotify_PlaySound for frame-specific animation events.

export const Notify = ({notifyName, example, graphImage}) => <>
    <p>A reload sound should line up with the hands touching the magazine or bolt. Place <code>{notifyName}</code> at that moment in the animation: it plays your Sound Cue when playback reaches the marker.</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-and-behavior">Settings and behavior</h2>

    <p>Assign <code>Sound</code> to the cue you want to hear. The notify calls <code>PlaySound2D</code>: it does not attach a spatial sound to a socket.</p>

    <p>Use it for first-person mechanical sounds that should line up with a reload or other hand action. For positional audio, use a notify or Blueprint call that supports spatial playback.</p>

    {graphImage}
  </>;

export const Example = () => <><h2>Example: customize a Sci-Fi animation</h2><p>For a custom Gepard reload, add this notify to a copy of the reload sequence and assign a cue from SFX/Gepard. Place it at the mechanical action you want to hear.</p></>;

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