# Draw a Line between two widgets

**URL:** <https://forums.unrealengine.com/t/draw-a-line-between-two-widgets/485568>\
**Category:** UI\
**Tags:** unreal-engine, UI, question, UMG\
**Created:** [June 30, 2021, 11:52am UTC](https://forums.unrealengine.com/t/draw-a-line-between-two-widgets/485568 "2021-06-30T11:52:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 30, 2021, 12:01pm UTC](https://forums.unrealengine.com/t/draw-a-line-between-two-widgets/485568/2 "2021-06-30T12:01:35Z")

</div>

Ensure the Skill Icons are parented to a Canvas so you can get their positions:

 ![342809-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/9/069ab4ddab59dccdb2f50f2bb19c77aa93430ca7.png)

The parent widget can draw lines using those coordinates. That’s the gist. The actual implementation would depend on whether this needs to be dynamic. Perhaps you can just draw lines in _Gimp_ / _Photoshop_ / _Paint_ and slap icons on top in the UMG.

---

_[View the full topic](https://forums.unrealengine.com/t/draw-a-line-between-two-widgets/485568)._
