From a delegate there is no easy way to access the action that triggered the delegate. Whilst this is mostly inherent (an OnJumped handler implies the Jump action) it would be better to provide direct access to allow sharing of handlers between multiple actions, and reduce delegate handling work for the user.

Suggest leaving the simpler delegates as they are, but indirectly modifying the delegate for FEnhancedInputActionHandlerInstanceSignature by exposing FInputActionInstance::SourceAction as read only for both native and BP as well as exposing an action output node on K2Node_EnhancedInputAction - which already tracks the input action internally.



Have Comments or More Details?

There's no existing public thread on this issue, so head over to AnswerHub just mention UE-117699 in the post.

Login to Vote

ComponentGameplay - Input
Affects Versions5.0-early access
Target Fix5.0
CreatedJun 9, 2021
UpdatedJun 9, 2021