# Getting rid of functionality in child character class

**URL:** <https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887>\
**Category:** Character & Animation\
**Tags:** child-class, unreal-engine, remove, question\
**Created:** [July 30, 2020, 5:38am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887 "2020-07-30T05:38:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![donkeykongy323](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@donkeykongy323](https://forums.unrealengine.com/u/donkeykongy323)\
**Post date:** [July 30, 2020, 5:38am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/1 "2020-07-30T05:38:35Z")

</div>

If i have print strings in my parent character class that i want to get rid off in the child character class, how do i do this? I also want to get rid of some of the logic in there

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [July 30, 2020, 8:07am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/2 "2020-07-30T08:07:28Z")

</div>

Is this logic in a function / event / encapsulated in a component / child actor / inherited from another parent?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [July 30, 2020, 8:17am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/3 "2020-07-30T08:17:21Z")

</div>

If you have a parent that ticks:

![308503-parent.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/9/549dc1bcb4fe50b49ac87ac4a630f09df8489c33.jpeg)

The child will use parent’s tick, too (bottom right):

 ![308504-child.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/7/2c70e770b17624efca225f5de654bad4f0e190c3.jpeg)

Remove that parent call **and compile**.

* * *

You can also add a parent call:

 ![308505-readd.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/4/094d8bf7b90cd1c655cf3f3f419fda9ec2f95437.jpeg)

* * *

And Event in the parent:

![308507-parentcustom.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/4/e5403184c33fa087134b75a567c9afb2b49bac23.jpeg)

Can be either be overridden (top) or called (bottom)

![308508-override.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/d/84d1686de01f0a561e93ff85629deb090eb452a9.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [July 30, 2020, 8:26am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/4 "2020-07-30T08:26:48Z")

</div>

> I also want to get rid of some of the  
> logic in there

While you cannot _get rid of it_, you can simply opt not to use it. Although nothing stops one from destroying an inherited component that encapsulates logic. Just make sure the parent is also OK with that component going missing all of a sudden.

---

<div class="post-metadata">

**Author:** ![bbois1999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bbois1999](https://forums.unrealengine.com/u/bbois1999)\
**Post date:** [October 20, 2022, 4:06am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/5 "2022-10-20T04:06:08Z")

</div>

Yeah but what if you want to keep a ton of other functionality and just get rid of a single tick from the parent inside the child?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 20, 2022, 6:37am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/6 "2022-10-20T06:37:56Z")

</div>

If you want to turn off tick in the child then why not just set actor ticks to false at the start of the childs tick or begin playor constructor?  
Or flat out override can tick in the child class defaults.

---

<div class="post-metadata">

**Author:** ![bbois1999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bbois1999](https://forums.unrealengine.com/u/bbois1999)\
**Post date:** [October 22, 2022, 7:54am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/7 "2022-10-22T07:54:40Z")

</div>

You didn’t read my question correctly. If I turn off all ticks flat-out then that turns off ALL the ticks. I’m using multiple ticks. I just want to turn off ONE, not all of them.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 22, 2022, 8:13am UTC](https://forums.unrealengine.com/t/getting-rid-of-functionality-in-child-character-class/468887/8 "2022-10-22T08:13:00Z")

</div>

@bbois1999

The child does not call the parent tick unless you invoke it yourself.  
in c++

```auto
void AChild::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime); // <- this calls inhered tick just don't call it if not needed
}

```

In blueprints parent tick will not be called automatically either, unless your call Parent:Tick (right click on child tick “add call to parent function” and connect & pass delta time)
