# \[UMG\] Progress Bar: Set Bar Fill Type

**URL:** <https://forums.unrealengine.com/t/umg-progress-bar-set-bar-fill-type/469698>\
**Category:** UI\
**Tags:** progress-bar, unreal-engine, question, UMG\
**Created:** [August 13, 2020, 2:51pm UTC](https://forums.unrealengine.com/t/umg-progress-bar-set-bar-fill-type/469698 "2020-08-13T14:51:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piontek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piontek/32/1194706_2.png) [@piontek](https://forums.unrealengine.com/u/piontek)\
**Post date:** [August 13, 2020, 2:51pm UTC](https://forums.unrealengine.com/t/umg-progress-bar-set-bar-fill-type/469698/1 "2020-08-13T14:51:17Z")

</div>

Hey there,

I noticed that there is only a “Get Bar Fill Type” similar to “Get Is Marquee”, but there’s not “Set Bar Fill Type”.

Is it just not implemented or did I missed something?

![310076-barfilltype.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/2/712f181f6e2d33397af6ffd3380a25da7f5a1078.png)

---

<div class="post-metadata">

**Author:** ![Brodyaga88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brodyaga88](https://forums.unrealengine.com/u/Brodyaga88)\
**Post date:** [July 19, 2021, 10:47am UTC](https://forums.unrealengine.com/t/umg-progress-bar-set-bar-fill-type/469698/2 "2021-07-19T10:47:21Z")

</div>

ProgressBar.h on line 87 says // TODO UMG Add Set BarFillType.

I added the code and recompiled the engine, but I have the engine downloaded from GitHub

Add after line 87 (ProgressBar.h)

```
UFUNCTION(BlueprintCallable, Category = "Progress")
void SetBarFillType(EProgressBarFillType::Type InBarFillType);

```

Add after line 63 (ProgressBar.cpp)

```
void UProgressBar::SetBarFillType(EProgressBarFillType::Type InBarFillType)
{
	if (MyProgressBar.IsValid())
	{
		MyProgressBar->SetBarFillType(InBarFillType);
	}
}
```

---

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [March 16, 2023, 6:06pm UTC](https://forums.unrealengine.com/t/umg-progress-bar-set-bar-fill-type/469698/3 "2023-03-16T18:06:27Z")

</div>

![Captura de tela 2023-03-16 150544](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/8/a08f7ea6b607ef5f570fe3539e6c49836b775a21.png)

I think this one might work too. “Set By-Ref Var”.
