# How do you check a player's health?

**URL:** <https://forums.unrealengine.com/t/how-do-you-check-a-players-health/841043>\
**Category:** Programming & Scripting\
**Tags:** health-bar, unreal-editor-for-fortnite, UI, question, fortnite\
**Created:** [April 3, 2023, 9:35pm UTC](https://forums.unrealengine.com/t/how-do-you-check-a-players-health/841043 "2023-04-03T21:35:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaydynGaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JaydynGaming](https://forums.unrealengine.com/u/JaydynGaming)\
**Post date:** [April 3, 2023, 9:35pm UTC](https://forums.unrealengine.com/t/how-do-you-check-a-players-health/841043/1 "2023-04-03T21:35:50Z")

</div>

I have recently been trying to make a custom UI, any idea on how I could check a player’s health and put it on ui?

---

<div class="post-metadata">

**Author:** ![Incredulous\_Hulk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/incredulous_hulk/32/924210_2.png) [@Incredulous\_Hulk](https://forums.unrealengine.com/u/Incredulous_Hulk)\
**Post date:** [April 3, 2023, 9:44pm UTC](https://forums.unrealengine.com/t/how-do-you-check-a-players-health/841043/2 "2023-04-03T21:44:15Z")

</div>

The health information is in the `healthful` interface which is part of `fort_character`. Assuming you have an `agent` or `player` you should be able to get the health by doing this:

```auto
if (FortCharacter := MyAgent.GetFortCharacter[]):
    FortCharacter.GetHealth()

```

---

<div class="post-metadata">

**Author:** ![Xaert1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xaert1](https://forums.unrealengine.com/u/Xaert1)\
**Post date:** [April 3, 2023, 9:46pm UTC](https://forums.unrealengine.com/t/how-do-you-check-a-players-health/841043/3 "2023-04-03T21:46:58Z")

</div>

Don’t forget to include “using { /Fortnite.com/Game }” to get access to the healthful interface
