# Variable: config (/pixi-vn-live2d/core/variables/config)



\> `const` **config**: `object`

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4655

Global configs.

## Type Declaration [#type-declaration]

### cubism [#cubism]

\> **cubism**: *typeof* `CubismFrameworkConfig`

### expressionFadingDuration [#expressionfadingduration]

\> **expressionFadingDuration**: `number`

Default fading duration for expressions without such value specified.

### fftSize [#fftsize]

\> **fftSize**: `number`

fftSize for sound analyzer for lipsync.
Must be a power of 2 between 2^5 and 2^15, so one of: 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, and 32768.

#### Default [#default]

```ts
512
```

### idleMotionFadingDuration [#idlemotionfadingduration]

\> **idleMotionFadingDuration**: `number`

Default fading duration for idle motions without such value specified.

### LOG_LEVEL_ERROR [#log_level_error]

\> **LOG_LEVEL_ERROR**: `number`

### LOG_LEVEL_NONE [#log_level_none]

\> **LOG_LEVEL_NONE**: `number`

### LOG_LEVEL_VERBOSE [#log_level_verbose]

\> **LOG_LEVEL_VERBOSE**: `number`

### LOG_LEVEL_WARNING [#log_level_warning]

\> **LOG_LEVEL_WARNING**: `number`

### logLevel [#loglevel]

\> **logLevel**: `number`

Global log level.

#### Default [#default-1]

```ts
config.LOG_LEVEL_WARNING
```

### motionFadingDuration [#motionfadingduration]

\> **motionFadingDuration**: `number`

Default fading duration for motions without such value specified.

### motionSync [#motionsync]

\> **motionSync**: `boolean`

Deferring motion and corresponding sound until both are loaded.

### preserveExpressionOnMotion [#preserveexpressiononmotion]

\> **preserveExpressionOnMotion**: `boolean`

If false, expression will be reset to default when playing non-idle motions.

### sound [#sound]

\> **sound**: `boolean`

Enabling sound for motions.
