How to make a while loop with key presses

ticks really arent as bad as you make them out to be art as long as theres not alot going on after that said i dont use tick often for things since there is usually a better way to accomplish the task at hand.

The setup presented here meanwhile is way worse than tick. if this person tried to use a while loop constantly it would crash their game instantly. [While Loop Basics][1].

https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1ga2b_ZaJoaR5dLHOFw4-MMl/2RkaUkaLZu4/

no doubt.