如何在progressbar上添加动画组件

319671-132.png

我希望的效果是在血条上加一个如图所示的蓝线,这个蓝线会跟着血量百分比的变化而变换他在图上的位置。他会一直出现在血条填充的progressbar的最左侧。
我看progressbar里好像没办法给他在最左打一个类似插槽的东西让我可以添加一个跟随progressbar的UMG组件
有没有什么好点的解决办法呢?

Tell me how good are my Google Translate skills:

  • create a new brush in the content browser:

319681-brush.jpg

  • the widget updates the variable that tells where to place the brush

  • on paint (above) paints the brush:

Image from Gyazo

Thank you very much!I really appreciate this,that really helped