# SolvedESP boxes vs viewangle

#### kuk3n

##### Newbie
I have a problem with the ESP boxes. They appear perfect on the enemy player when I have my crosshair aimed at them. However, the more to the right or left an enemy player is, the bigger he becomes while the boxes stay the same size. What I need to do is resize the boxes accordingly when the enemy player is outside of my crosshair. How do I calculate the scaling that is needed?

#### Rake

The size of the bounding box should adjust in relation to the player's distance from your coordinates

I mean you should multiply the dimensions of the box by the players distance, you will have to test what works for you Typically you divide the distance by a magic number which you define via trial and error. you will see this in all ESP sources

Last edited:

#### Liduen

##### Hacker
Dank Tier VIP
W2S feet position.
Take the difference as the height of the esp box.

Last edited:

#### simonpaa

##### Jr.Coder
Silenced
I have a problem with the ESP boxes. They appear perfect on the enemy player when I have my crosshair aimed at them. However, the more to the right or left an enemy player is, the bigger he becomes while the boxes stay the same size. What I need to do is resize the boxes accordingly when the enemy player is outside of my crosshair. How do I calculate the scaling that is needed?

Where you from?

Last edited:

#### Luciz

##### Coder
Dank Tier Donator
Nobleman

#### kuk3n

##### Newbie
W2S feet position.
Take the difference as the height of the esp box.
This was the solution I ended up doing, works perfect! My problem was that I was trying to scale the ESP box from one W2S point along with the distance, which worked as long as I had the enemy centered in my crosshair.

Where you from?
Sweden .

Attention! Before you post:

99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

• Fill out the form correctly
• Tell us the game name & coding language