# How do I make my Crosshair Dynamic like COD MW 2020?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-my-crosshair-dynamic-like-cod-mw-2020/475672>\
**Category:** UI\
**Tags:** crosshair, unreal-engine, Blueprint, question\
**Created:** [December 10, 2020, 8:53pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-crosshair-dynamic-like-cod-mw-2020/475672 "2020-12-10T20:53:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tahmidahnaf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tahmidahnaf](https://forums.unrealengine.com/u/tahmidahnaf)\
**Post date:** [December 10, 2020, 8:53pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-crosshair-dynamic-like-cod-mw-2020/475672/1 "2020-12-10T20:53:37Z")

</div>

Hello,  
I have made a Dynamic Crosshair which expands or contracts depending on the movement. So I was wondering how do I add a sway to the Crosshair when I move my character. Any help will be Appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![Okarii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Okarii](https://forums.unrealengine.com/u/Okarii)\
**Post date:** [December 11, 2020, 1:21am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-crosshair-dynamic-like-cod-mw-2020/475672/2 "2020-12-11T01:21:13Z")

</div>

I recommend checking out over-riding the onPaint function in widgets. its capable of creating a number of more dynamic affects, one of which is drawing lines. I have a tutorial that introduces the concept in general: [https://youtu.be/mzeHCwNLwAE](https://youtu.be/mzeHCwNLwAE)

conceptually, you would have a center point that you base the line positions (I would use screenspace vectors for up/down/left/right) on and therefor you can have movement sway or move that center point, and the crosshairs would move around as well.

this would also allow for the extension that aim can visually grow better or worse by how tight the crosshairs are.
