client.visible
Returns true if the position is visible from the local player eye position. For more advanced ray tracing use client.trace_line.
client.visible(x: number, y: number, z: number): boolean
Arguments
Name | Description | Type |
---|---|---|
x | X coordinate of the position | number |
y | Y coordinate of the position | number |
z | Z coordinate of the position | number |
Returns boolean