# Is there a good way to modify CustomTimeDilation without affecting all components in the actor?

**URL:** <https://forums.unrealengine.com/t/is-there-a-good-way-to-modify-customtimedilation-without-affecting-all-components-in-the-actor/2404009>\
**Category:** C++\
**Tags:** unreal-engine, question, Blueprint, CPP\
**Created:** [March 21, 2025, 12:44am UTC](https://forums.unrealengine.com/t/is-there-a-good-way-to-modify-customtimedilation-without-affecting-all-components-in-the-actor/2404009 "2025-03-21T00:44:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FFCMY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FFCMY](https://forums.unrealengine.com/u/FFCMY)\
**Post date:** [March 21, 2025, 12:44am UTC](https://forums.unrealengine.com/t/is-there-a-good-way-to-modify-customtimedilation-without-affecting-all-components-in-the-actor/2404009/1 "2025-03-21T00:44:53Z")

</div>

I try to add a hit stop effect to my game, the design is simple, when the player hits the enemy, I will set my player and the enemy’s CustomTimeDilation to 0, and after a duration, set them back to 1. This works fine but because my camera is a component of my character, so the camera stops moving too. How can I let my camera ignore the CustomTimeDilation?

---

<div class="post-metadata">

**Author:** ![xenofsnstudios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xenofsnstudios/32/1194578_2.png) [@xenofsnstudios](https://forums.unrealengine.com/u/xenofsnstudios)\
**Post date:** [March 21, 2025, 4:37am UTC](https://forums.unrealengine.com/t/is-there-a-good-way-to-modify-customtimedilation-without-affecting-all-components-in-the-actor/2404009/2 "2025-03-21T04:37:30Z")

</div>

Rather than using custom time dilation, it might be better if you froze certain components on the actors for a few frames instead.

Specifically, pause the animations on each character’s mesh component and stop the ticking of their movement components. Then, after a delay, unpause the animations and allow the movement components to tick again.

---

<div class="post-metadata">

**Author:** ![FFCMY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FFCMY](https://forums.unrealengine.com/u/FFCMY)\
**Post date:** [March 22, 2025, 12:12am UTC](https://forums.unrealengine.com/t/is-there-a-good-way-to-modify-customtimedilation-without-affecting-all-components-in-the-actor/2404009/3 "2025-03-22T00:12:18Z")

</div>

Yeah, this is the way I’m doing right now. But it’s pretty hard to manage all the components I want to pause, I think it’s easier to manage what component I don’t need to pause, so that’s where the question comes from. But thanks for your reply!
