Why does ApplyGameplayEffectToTarget have two targets?

ApplyGameplayEffectToTarget | Unreal Engine Documentation

As per topic - the Blueprint block has two ‘Target’ input parameters. The documentation does not explain anything.

Hi there,
Typically, the first target above is the owner of that function, who is running it. The second target below is the “Trace Target”. If player is running the function, the second target is his/her enemy. If you connect player in both targets, the resulting effect is similar to “Apply Gameplay Effect to Self”.

Hey @ilozen,
I’d say the most likely scenario is that it’s the arguments for the function, i.e, you attach the node from the user onto what the user wants to effect.
I hope this information can help!
-Zen

Concur with the others – the top one is the standard Blueprint target node, which tells Blueprint what object to perform the function on. The second one is a poorly named input parameter.