Skip to content

StopSoundAction ​

Inherits: EventAction < Resource

Stops a sound that the Spawn Sound action made, by its name: it fades out over the seconds and goes. A name nothing plays under does nothing. See docs: Events > Audio actions.

Properties ​

Stringsound_name""
floatfade_seconds1.0

Methods ​

Stringget_function_description()

Property descriptions ​

String sound_name = "" ​

The name the sound was spawned with

float fade_seconds = 1.0 ​

Seconds the sound takes to fade out (0 = it stops at once)

Method descriptions ​

String get_function_description() ​

Return a description of this action with parameter placeholders (from EventAction)