I cant find 'Cast To FirstPersonHUD' in UE5

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

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.

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

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.