Skip to content
InterfaceUI & Typography@public

FlxButtonSound ​

Sound-like hook accepted without coupling the button to an audio backend.

ts
export interface FlxButtonSound

Methods ​

destroy() ​

ts
destroy?(): void

Returns: void

play() ​

ts
play(forceRestart?: boolean): unknown

Parameters:

ParameterTypeDescription
forceRestartboolean-

Returns: unknown

Released under the MIT License.