Skip to content

Marker beta ​

Interface of @v12-engine/client

ts
export interface Marker

A named moment: where a hook runs (marker:<name>, A4), where a script waits (cut.untilMarker), where the editor jumps to. The colour is the editor's flag of it

Members ​

at ​

ts
at: number;

The moment the marker marks, in seconds from the start of the cinematic

color ​

ts
color?: string;

The colour of the marker's flag in the editor, as CSS has it

kind ​

ts
kind?: 'section';

A section's start (D3): a long cinematic in parts the editor folds and code plays one at a time (cut.section(name)), each to the next section's marker

name ​

ts
name: string;

The marker's name, as hooks (marker:<name>) and cut.untilMarker use it