Skip to content

Fade out only if sound is already playing #116

@Salitehkat

Description

@Salitehkat

HI,

I have two events.
Event 1: sound must fadeIn
Event 2; sound must fade Out.
The problem is that if i trigger Event 2 before Event 1 the sound starts playing in order to do fade out.
How can I control that the fade out only happens if the sound is already playing (only if event 1 has been triggered)?

I am asking here cause I believe FadeOut considers only if the sound is already playing. Sorry if I am wrong and thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions