# Change Trail effect notify according to condition?

**URL:** <https://forums.unrealengine.com/t/change-trail-effect-notify-according-to-condition/510759>\
**Category:** FX\
**Tags:** unreal-engine, question, UE4-27\
**Created:** [March 29, 2022, 10:03pm UTC](https://forums.unrealengine.com/t/change-trail-effect-notify-according-to-condition/510759 "2022-03-29T22:03:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isikdev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/isikdev/32/991020_2.png) [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Post date:** [March 29, 2022, 10:03pm UTC](https://forums.unrealengine.com/t/change-trail-effect-notify-according-to-condition/510759/1 "2022-03-29T22:03:19Z")

</div>

Hi! I was wondering if changing a trail setup in a montage/animation is possible depending on a condition? For example if x\<=10 then it should be x\_trail and else, y\_trail. In my case I’m trying to do it for melee weapons. If skeletal mesh == “X”, play x-trail, else play y-trail. If this is not possible duplicating the montages/animations for every single weapon I have will be kinda sad!

If this is possible, how can I achieve this? To add, the trails I’m using are not Niagara but I have some Niagara ones that can be used as well. Appreciate any tips!
