# PlayAnimation and anim notifications

**URL:** <https://forums.unrealengine.com/t/playanimation-and-anim-notifications/374528>\
**Category:** Character & Animation\
**Tags:** notification, unreal-engine, CPP, question\
**Created:** [October 26, 2016, 6:30pm UTC](https://forums.unrealengine.com/t/playanimation-and-anim-notifications/374528 "2016-10-26T18:30:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![intrus03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@intrus03](https://forums.unrealengine.com/u/intrus03)\
**Post date:** [October 26, 2016, 6:30pm UTC](https://forums.unrealengine.com/t/playanimation-and-anim-notifications/374528/1 "2016-10-26T18:30:10Z")

</div>

I’m playing an animation from C++ with

```
GetMesh()->PlayAnimation(PrimaryAttack, bLoop);

```

But I don’t receive the anim notifications that exist in that animation.  
If I play a montage with that animation from C++ or play PrimaryAttack from blueprint I receive the notification correctly.

What am I doing wrong with PlayAnimation, and how can I recieve the notifications without create a montage?

Thank you in advance.
