Skip to main content

fireCooldown

@zylem/game-lib


@zylem/game-lib / behavior / fireCooldown

Function: fireCooldown()

fireCooldown(name): void

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/cooldown.d.ts:102

Fire (trigger) a cooldown, resetting its timer. Sets the cooldown to not-ready and starts the countdown.

Parameters​

name​

string

Returns​

void