From the reference libraryRedM

Debugger <BadgeClient/>

jo_libs/modules/debugger/client.md

Debugger <BadgeClient/>

A module to use debugger module client side.

JO Functions > jo.debugger.drawSphere()

<!-- @include: ./slots/headers.md#client|jo.debugger.drawSphere -->

Draws a 3D sphere at the specified coordinates. <br>

<!-- @include: ./slots/descriptions.md#client|jo.debugger.drawSphere -->

JO Functions > jo.debugger.drawSphere() > Syntax

jo.debugger.drawSphere(coords, size, color)

JO Functions > jo.debugger.drawSphere() > Parameters

coords : vector

The coordinates where the sphere will be drawn

size : vector <BadgeOptional />

The size of the sphere in x,y,z dimensions - default:vec3(0.5, 0.5, 0.5)

color : table <BadgeOptional />

The color of the sphere

color.r : number - Red component 0-255 - default:255

color.g : number - Green component 0-255 - default:0

color.b : number - Blue component 0-255 - default:0

color.a : number - Alpha/transparency 0-255 - default:100

<!-- @include: ./slots/examples.md#client|jo.debugger.drawSphere -->

<!-- @include: ./slots/footers.md#client|jo.debugger.drawSphere -->


JO Functions > jo.debugger.drawText()

<!-- @include: ./slots/headers.md#client|jo.debugger.drawText -->

Draws text on the screen with specified parameters. <br>

<!-- @include: ./slots/descriptions.md#client|jo.debugger.drawText -->

JO Functions > jo.debugger.drawText() > Syntax

jo.debugger.drawText(text, x, y)

JO Functions > jo.debugger.drawText() > Parameters

text : string

The text content to be displayed

x : number <BadgeOptional />

The x-coordinate position on screen - default:0.01

y : number <BadgeOptional />

The y-coordinate position on screen - if not provided, uses and increments the global offset

<!-- @include: ./slots/examples.md#client|jo.debugger.drawText -->

<!-- @include: ./slots/footers.md#client|jo.debugger.drawText -->


JO Functions > jo.debugger.resetText()

<!-- @include: ./slots/headers.md#client|jo.debugger.resetText -->

Resets the text display offset to its starting position. <br>

<!-- @include: ./slots/descriptions.md#client|jo.debugger.resetText -->

JO Functions > jo.debugger.resetText() > Syntax

jo.debugger.resetText()

<!-- @include: ./slots/examples.md#client|jo.debugger.resetText -->

<!-- @include: ./slots/footers.md#client|jo.debugger.resetText -->

Back to documentation