Skip to main content

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

NameDescriptionType
xX coordinate of the positionnumber
yY coordinate of the positionnumber
zZ coordinate of the positionnumber

Returns boolean