For the complete documentation index, see llms.txt. This page is also available as Markdown.

renderer.drawTracer

drawTracer(target, color, width): void

Draws a line from the camera to a world position. Anchored to the camera rather than the player's eyes, so it stays on the crosshair in third person.

Parameters

target

Vec3

The target position in world coordinates.

color

Color

The line color.

width

number

The line width in pixels (0.1-64).

Returns

void

Last updated