Get Selected Track

Get Selected Track

Windows
MacOS
Linux

Get the index of the currently selected track of the given type.

Target is Media Player

Get Selected Track
Target
Select Asset
Track Type
Audio
Return Value
0

Inputs

Target
Media Player Object Reference
Track Type
EMediaPlayerTrack Enum

The type of track to get.

Outputs

Return Value
Integer

The index of the selected track, or INDEX_NONE if no track is active.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss