๐ŸŽฎPlayerEntryVisualData

Encapsulates all of the player ESP information and additional methods.

isValid

FieldRead only

Type: boolean

Returns false when ESP is disabled or entity is invalid for ESP.


isPreview

FieldRead only

Type: boolean

Returns true when ESP is being rendered in the menu preview.


isTeammate

FieldRead only

Type: boolean

Whether or not the player is a teammate.


isOutOfScreen

FieldRead only

Type: boolean

Whether or not the player is outside of the screen.


pos

FieldRead only

Type: Vector

The player's absolute world position.


top

FieldRead only

Type: Vec2

The top center position on screen.


bottom

FieldRead only

Type: Vec2

The bottom center position on screen.


width

FieldRead only

Type: number

The width of the ESP bounding box.


height

FieldRead only

Type: number

The height of the ESP bounding box.


alpha

FieldRead only

Type: number

The transparency of the ESP.


GetOffset

Method

Returns the current offset for an ESP anchor point.

Arguments

Name

Type

Description

position

EspItemPos

The anchor point

Returns

Type

Description

number

The offset in the specified position

Example


GetBoundingBox

Method

Returns the player's ESP bounding box rectangle. Prefer this over C_CSPlayerPawn:GetBoundingBox .

Arguments

None.

Returns

Type

Description

The ESP bounding box

Example


BumpOffset

Method

Increments the rendering offset on a certain ESP anchor point. Useful if you're rendering custom elements on the ESP layer.

Arguments

Name

Type

Description

position

EspItemPos

The anchor point

offset

number

The offset

Returns

Nothing.

Example

Last updated