# I cant find 'Cast To FirstPersonHUD' in UE5

**URL:** <https://forums.unrealengine.com/t/i-cant-find-cast-to-firstpersonhud-in-ue5/840803>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [April 3, 2023, 6:43pm UTC](https://forums.unrealengine.com/t/i-cant-find-cast-to-firstpersonhud-in-ue5/840803 "2023-04-03T18:43:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamojinushi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shamojinushi](https://forums.unrealengine.com/u/shamojinushi)\
**Post date:** [April 3, 2023, 6:43pm UTC](https://forums.unrealengine.com/t/i-cant-find-cast-to-firstpersonhud-in-ue5/840803/1 "2023-04-03T18:43:50Z")

</div>

My teacher use UE4, and I use UE5.  
He use ‘Cast To FirstPersonHUD’ action.  
But, I cant find it.  
How can I do?

---

<div class="post-metadata">

**Author:** ![Jnat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jnat/32/927460_2.png) [@Jnat](https://forums.unrealengine.com/u/Jnat)\
**Post date:** [April 3, 2023, 7:34pm UTC](https://forums.unrealengine.com/t/i-cant-find-cast-to-firstpersonhud-in-ue5/840803/2 "2023-04-03T19:34:31Z")

</div>

Hi @shamojinushi ,  
it depends on the content you have added in your project.  
If you can’t find this class it may be because you have not created it yet.  
Maybe it came from content the teacher has and you don’t. Feel free to ask your teacher about this problem since it’s linked to the course he had designed for you.

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 3, 2023, 7:35pm UTC](https://forums.unrealengine.com/t/i-cant-find-cast-to-firstpersonhud-in-ue5/840803/3 "2023-04-03T19:35:27Z")

</div>

If you want to learn I suggest using UE4. UE5 is similar at the first glance, but has a lot of changes that will not work as expected if you follow an UE4 tutorial.

SO either you find a tutorial for UE5 or stick with UE4 and then with the experience you have by that point you can figure out the changes between the two versions

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [April 3, 2023, 7:44pm UTC](https://forums.unrealengine.com/t/i-cant-find-cast-to-firstpersonhud-in-ue5/840803/4 "2023-04-03T19:44:31Z")

</div>

The FirstPersonHUD class is defined by a particular project, not by the engine itself.  
I suggest you use exactly the same tools, projects, and versions as your teacher, until you have taught yourself enough about how Unreal builds work that you can translate for yourself.
