# FTickableGameObject, PIE and pause

**URL:** <https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279>\
**Category:** Community & Industry Discussion\
**Tags:** tick, pie, unreal-engine, pause, UE4, question\
**Created:** [October 1, 2019, 3:30pm UTC](https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279 "2019-10-01T15:30:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryder0252](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ryder0252](https://forums.unrealengine.com/u/Ryder0252)\
**Post date:** [October 1, 2019, 3:30pm UTC](https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279/1 "2019-10-01T15:30:59Z")

</div>

Hello,

I have an Object in a Runtime module that inherits from FTickableGameObject and implements its interface.  
The problem is:  
In PIE, when the game (simulation) is paused, my Object still ticks. How to prevent it without linking Editor to Runtime?

Additional info:  
FTickableGameObject::IsTickableWhenPaused() _defaults to false, unchanged_ never gets called.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![bASteker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bASteker](https://forums.unrealengine.com/u/bASteker)\
**Post date:** [December 6, 2021, 11:58pm UTC](https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279/2 "2021-12-06T23:58:53Z")

</div>

You also need to override “GetTickableGameObjectWorld()” function. If this function returns nullptr (which it does by default), then it will tick when paused too.

---

<div class="post-metadata">

**Author:** ![bASteker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bASteker](https://forums.unrealengine.com/u/bASteker)\
**Post date:** [December 7, 2021, 5:40pm UTC](https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279/3 "2021-12-07T17:40:34Z")

</div>

,You also need to override “GetTickableGameObjectWorld()” function. If this function returns nullptr (which it does by default), then it will tick when paused too.

---

<div class="post-metadata">

**Author:** ![II\_ADN\_II](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ii_adn_ii/32/1194656_2.png) [@II\_ADN\_II](https://forums.unrealengine.com/u/II_ADN_II)\
**Post date:** [March 18, 2023, 10:47pm UTC](https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279/4 "2023-03-18T22:47:45Z")

</div>

This is it, now its working as expected. Tank you very much!

---

<div class="post-metadata">

**Author:** ![UNIT28Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit28studios/32/1142186_2.png) [@UNIT28Studios](https://forums.unrealengine.com/u/UNIT28Studios)\
**Post date:** [April 24, 2024, 8:05pm UTC](https://forums.unrealengine.com/t/ftickablegameobject-pie-and-pause/456279/5 "2024-04-24T20:05:41Z")

</div>

Thanks for this! Your fix worked for me as well. It’s really bizarre because this isn’t mentioned anywhere in any documentation.

You would think that the obvious choice would be to override **IsTickableWhenPaused** and return false from that method, but that has no effect. Instead it’s this **GetTickableGameObjectWorld** that needs to be overridden instead. If someone could shed some light on why this is the case that would be great.

In the meantime, I simply override the function and added the following code, and that worked for me (I’m implementing this in a Clock class I’m creating):

```auto
UWorld *UClock::GetTickableGameObjectWorld() const
{
    return GetWorld();
}

```
