# How to call parent function from an overriden function?

**URL:** <https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [April 20, 2023, 2:19am UTC](https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093 "2023-04-20T02:19:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guedin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/guedin/32/1194721_2.png) [@Guedin](https://forums.unrealengine.com/u/Guedin)\
**Post date:** [April 20, 2023, 2:19am UTC](https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093/1 "2023-04-20T02:19:09Z")

</div>

Hello,  
I’m looking for a way to call the parent class function from an overridden function. In the following example, only “child” is printed, but I’d also like “parent” to be printed.

```auto
# Parent class
character := class():
    Test<internal>() : void=
        Print("Parent")

# Child class
team_1_character := class(character):
    Test<override>() : void=
        Print("Child")

# Result : "Child" 
Team1Character : team_1_character = team_1_character{}
Team1Character.Test()

```

Thanks in advance

---

<div class="post-metadata">

**Author:** ![gontux](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gontux/32/642085_2.png) [@gontux](https://forums.unrealengine.com/u/gontux)\
**Post date:** [April 20, 2023, 2:29am UTC](https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093/2 "2023-04-20T02:29:17Z")

</div>

You basically need to call `(super:)Test()`

> **[Subclass](https://dev.epicgames.com/documentation/en-us/uefn/subclass-in-verse)**
>
> A subclass is a class that extends the definition of another class by adding or modifying the fields and methods of the other class.

---

<div class="post-metadata">

**Author:** ![Guedin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/guedin/32/1194721_2.png) [@Guedin](https://forums.unrealengine.com/u/Guedin)\
**Post date:** [April 20, 2023, 2:32am UTC](https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093/3 "2023-04-20T02:32:32Z")

</div>

Fantastic! Thank you so much
