UAudioComponent::IsPlaying

Returns TRUE if the targeted Audio Component's sound is playing.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp

Syntax

virtual bool IsPlaying() const

Remarks

Returns TRUE if the targeted Audio Component's sound is playing. Doesn't indicate if the sound is paused or fading in/out. Use GetPlayState() to get the full play state.