# Network Latency Compensation

**URL:** <https://forums.unrealengine.com/t/network-latency-compensation/1630954>\
**Category:** C++\
**Tags:** Network, unreal-engine, CPP, question, Blueprint\
**Created:** [January 21, 2024, 6:27am UTC](https://forums.unrealengine.com/t/network-latency-compensation/1630954 "2024-01-21T06:27:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gilgamesh0808](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gilgamesh0808](https://forums.unrealengine.com/u/Gilgamesh0808)\
**Post date:** [January 21, 2024, 6:27am UTC](https://forums.unrealengine.com/t/network-latency-compensation/1630954/1 "2024-01-21T06:27:42Z")

</div>

Hello,

I’m trying to make a game where the game code optimizes/changes in game attributes when in latency to compensate for it. An example would be to increase Aim Assist level when in High latency to help the player. How can I get current network data/ latency data such that I can implement it in the code/ blueprint. Is it even possible?

Ideally what I would like to have is  
If PING \> 200 → AIM ASSIST LEVEL 5 (or something)  
If PING \< 30 → AIM ASSIST LEVEL 1
