# Debugger `[Client]`

A module to use debugger module client side.

## JO Functions

### jo.debugger.drawSphere()

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

#### Syntax

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

#### Parameters

`coords` : _vector_
> The coordinates where the sphere will be drawn
>

`size` : _vector_ `[Optional]`
> The size of the sphere in x,y,z dimensions - default:vec3(0.5, 0.5, 0.5)
>

`color` : _table_ `[Optional]`

> 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
> 

---

### jo.debugger.drawText()

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

#### Syntax

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

#### Parameters

`text` : _string_
> The text content to be displayed
>

`x` : _number_ `[Optional]`
> The x-coordinate position on screen - default:0.01
>

`y` : _number_ `[Optional]`
> The y-coordinate position on screen - if not provided, uses and increments the global offset
>

---

### jo.debugger.resetText()

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

#### Syntax

```lua
jo.debugger.resetText()
```
