# How to specify game mode's HUD Class with BP\_HUD on my Code Third Person project?

**URL:** <https://forums.unrealengine.com/t/how-to-specify-game-modes-hud-class-with-bp-hud-on-my-code-third-person-project/293607>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 13, 2014, 3:01pm UTC](https://forums.unrealengine.com/t/how-to-specify-game-modes-hud-class-with-bp-hud-on-my-code-third-person-project/293607 "2014-09-13T15:01:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeche](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mikeche](https://forums.unrealengine.com/u/mikeche)\
**Post date:** [September 13, 2014, 3:01pm UTC](https://forums.unrealengine.com/t/how-to-specify-game-modes-hud-class-with-bp-hud-on-my-code-third-person-project/293607/1 "2014-09-13T15:01:02Z")

</div>

When I create a new project use Code Third Person project wizard, the default game mode’s HUD can not be edited(gray editbox) in project setting. And I want to use my HUD blueprint so how can I do that? In C++ code ? Help me please.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [September 14, 2014, 2:35am UTC](https://forums.unrealengine.com/t/how-to-specify-game-modes-hud-class-with-bp-hud-on-my-code-third-person-project/293607/2 "2014-09-14T02:35:10Z")

</div>

#Two Options

#Option 1

Go to world settings, click on new, next to game mode

then you can open that game mode BP and change your HUD class

#Option 2, C++

See my tutorial for player controller and do the same for your HUD instead

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

DefaultHUDClass = see tutorial

#Enjoy!

Rama

---

<div class="post-metadata">

**Author:** ![mikeche](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mikeche](https://forums.unrealengine.com/u/mikeche)\
**Post date:** [September 16, 2014, 11:04am UTC](https://forums.unrealengine.com/t/how-to-specify-game-modes-hud-class-with-bp-hud-on-my-code-third-person-project/293607/3 "2014-09-16T11:04:36Z")

</div>

Thank you very much. It’s worked.
