Skip to content

DebugToggle beta ​

Interface of @v12-engine/client

ts
export interface DebugToggle

A switch in the debug panel: a name, and a value to read and set

Members ​

get ​

ts
get(): boolean;

Reads whether it is on

id ​

ts
id: string;

Unique id of the toggle

label ​

ts
label: string;

Its label in the panel

set ​

ts
set(value: boolean): void;

Sets it on or off