Hi Chris, Thank you for your quick answer.
This is not what i’m trying to do.
Basically I used this with Blueprint and what I want to do is implement the “OnKeyPressed” in my current Actor.
This way after the
ReceiveActorBeginOverlap(class AActor* Other)
I enable the EnableInput(MyPC);
And then I want to do the same thing as I do with Blueprint : KeyEvent : E but through script