# Draw/Plot line randomly on a screen infinitely during game play

**URL:** <https://forums.unrealengine.com/t/draw-plot-line-randomly-on-a-screen-infinitely-during-game-play/352869>\
**Category:** Rendering\
**Tags:** draw, wave, unreal-engine, Rendering, Blueprint, question, CPP\
**Created:** [April 4, 2016, 11:04am UTC](https://forums.unrealengine.com/t/draw-plot-line-randomly-on-a-screen-infinitely-during-game-play/352869 "2016-04-04T11:04:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_942fad3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942fad3a](https://forums.unrealengine.com/u/anonymous_user_942fad3a)\
**Post date:** [April 4, 2016, 11:04am UTC](https://forums.unrealengine.com/t/draw-plot-line-randomly-on-a-screen-infinitely-during-game-play/352869/1 "2016-04-04T11:04:52Z")

</div>

Hi everyone,

I am wondering that if it is possible for me to draw or plot line randomly “like wave shape” on; for example top left of the screen when a game started?

For example, let’s say the function will plot a point on x = 10, y = 25 “coordinate”. and after one second, the next possible plot could be either +1,+0 or -1 of the previous (let it be 24, thus become x = 10, y = 24) and the previous one will be pushed to the left of the screen (became x = 9, y = 25". and keep going on and on until game is stopped. and if the y coordinate is keep decreasing from time to time, I will see a downhill line like " \ " shown on the screen. So, by the end, i might have something like a sine wave/sound wave graph rendering on screen.

I am new to UE4 and seek for any guideline to make this happen. Is it possible to create such things by blueprint or C++? Also, are there any keywords such as"HUB" for me to search for, so I can try to create or study them?

Thanks!

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [April 4, 2016, 11:52am UTC](https://forums.unrealengine.com/t/draw-plot-line-randomly-on-a-screen-infinitely-during-game-play/352869/2 "2016-04-04T11:52:52Z")

</div>

There is a float histogram rendering available. More Information: [FDebugFloatHistory | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Engine/FDebugFloatHistory/index.html)

It looks like this:

![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/e/be1075495a5f72437d9fe73b30d9816d73db34ac.png)
