Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Class UI Unreal Engine 5: UI Unreal Engine 5: Creating a HUD Health Bar with UMG”.
Other ways we can help with Unreal Engine.
Learn with a mentor
Scheduled Game Development courses with live guidance and a certificate.

Course/Training Unreal Engine — Procedural Animation for Humans in Unreal Engine 5
★ 5.0 (60)

Course/Training Unreal Engine — Training Unreal Engine Master Class Selama 3 Hari - Kelas 2
★ 5.0 (7)

Course/Training: Unreal Engine 5
★ 5.0 (7)
Have it built for you
No time to learn Unreal Engine? Our team can do the project for you.

Development Service: Unreal Engine — Unreal Engine 4 – Build Your First Game with UE4!!
★ 5.0 (12)

Development Service: Unreal — Unreal Engine 5 Blueprints: Multiplayer Shooter (FPS)
★ 5.0 (10)

Development Service: Blender — Blender Character Design Master for Unity & Unreal Engine
★ 5.0 (9)
Get notified about new Unreal Engine classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
In this tutorial, we create a health bar and health text display on the screen using UMG in Unreal Engine 5. Hello, welcome to Cerdas Inovasi Digital. In this tutorial, we create a user interface or HUD in Unreal Engine 5 using UMG. A red health bar and health text appear on the screen when the game is played. Let's start! Create a new project from the TetherPerson template, name it 'belajar UI', and then be creative. Right-click in the Content Browser, select User Interface, then Widget Blueprint. Select User Widget, name it 'wbp underscore hud', then double-click to open the UMG Designer. The widget is still empty. In the T palette, search for canvass panel and drag it into the hierarchy. Canvass panel is a container that represents the entire screen. Search for progress bar and drag it into the canvass. This progress bar will be our health bar. In the Details panel, set position to 40, 40, and size to 400x35, so the bar is in the top-left corner. Fill the percent to 0.75, meaning 75% health. Then change the fill color to red. Add text below the bar, position at 40, 90, and fill the text with 'health 75%'. Click compile and save, then close the Widget Blueprint. Now the widget should appear when the game starts. Click the Blueprints button in the toolbar, then open level Blueprint. From the event begin play, drag the pin and add create Widget, then select the class 'wbp underscore hud'. From the return value, add add to via port, so the widget appears on the screen. Click compile, close level Blueprint, then save all. Press play. The health bar in red and health text appear in the top-left corner of the screen, and remain visible as the character moves. Done. You've created your first HUD using UMG. Next, the percentage can be connected to the character's health variable so the bar decreases when attacked. Don't forget to subscribe, like, and share. Goodbye. Want to master game development with Unreal Engine? Cerdas Inovasi Digital offers complete Unreal Engine courses, game development services, 3D character creation, and sells ready-to-use project files. Contact us via WhatsApp or visit cerdasinovasidigital.com Thank you for watching!
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →