# How to show UI to Multiplayer?

**URL:** <https://forums.unrealengine.com/t/how-to-show-ui-to-multiplayer/1347539>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [October 27, 2023, 7:08am UTC](https://forums.unrealengine.com/t/how-to-show-ui-to-multiplayer/1347539 "2023-10-27T07:08:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZedzterX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zedzterx/32/767522_2.png) [@ZedzterX](https://forums.unrealengine.com/u/ZedzterX)\
**Post date:** [October 27, 2023, 7:08am UTC](https://forums.unrealengine.com/t/how-to-show-ui-to-multiplayer/1347539/1 "2023-10-27T07:08:48Z")

</div>

Hi, Does anyone know how to show custom UI to Multiplayer? I was able to add UI to single player by YouTube video - Epic Boss Battles In Fortnite Creative 2 UEFN. But in multiplayer it is only visible to one player even with for loop. Any suggestion would be helpful.

Main.verse -

```auto
    OnBegin<override>()<suspends>:void=
        AllPlayers := GetPlayspace().GetPlayers()
        BossHPBar.Init("Aknar The Terrible", 1000.0)

       for (Player : AllPlayers):
            GameState.ProgressBar.ShowUIForPlayer(Player)

```

HealthBar.verse -

```auto
    ShowUIForPlayer(Player : player):void=
        if (PlayerUI := GetPlayerUI[Player]):
            PlayerUI.AddWidget(CreateUI())

    ShowUIToAllPlayers():void=
        block:

    CreateUI<private>() : canvas=
        TheCanvas : canvas = canvas:
            Slots := array:
                canvas_slot:
                    Anchors := anchors{Minimum := vector2{X := 0.5, Y := 0.9}, Maximum := vector2{X := 0.5, Y := 0.9}}
                    Offsets := margin{Top := 0.0, Left := 0.0, Right := 0.0, Bottom := 100.0}
                    Alignment := vector2{X := 0.5, Y := 1.0}
                    Widget := stack_box:
                        Orientation := orientation.Vertical
                        Slots := array:
                            stack_box_slot:
                                Widget := CreateOverlay()

        return TheCanvas

```

---

<div class="post-metadata">

**Author:** ![LoPing](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loping/32/737300_2.png) [@LoPing](https://forums.unrealengine.com/u/LoPing)\
**Post date:** [October 27, 2023, 11:27pm UTC](https://forums.unrealengine.com/t/how-to-show-ui-to-multiplayer/1347539/2 "2023-10-27T23:27:38Z")

</div>

You have to create a canvas for each player and map them to it. Ditto for any per-player-variables you want to use.

This may help → [Related Question](https://forums.unrealengine.com/t/removing-custom-ui-after-specific-event/1310558)
