Skip to content

API Interface DecalHandle

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: DecalHandle

Defined in: src/plugins/decals/runtime/Decals.ts:17

A spawned decal.

Properties

alive

readonly alive: boolean;

Defined in: src/plugins/decals/runtime/Decals.ts:19

False once it has gone: faded out, removed, its parent destroyed, or pushed out by newer decals.


opacity

opacity: number;

Defined in: src/plugins/decals/runtime/Decals.ts:21

0 to 1: how strongly it shows; set it to fade a decal by hand.

Methods

remove()

remove(fadeOut?): void;

Defined in: src/plugins/decals/runtime/Decals.ts:23

Fade it out over fadeOut seconds (default: its own fadeOut), then remove it; 0 removes it now.

Parameters

fadeOut?

number

Returns

void

Clone this wiki locally