Hey there @EhOpranD! Since you had success in creating the widget, I’d recommend looking into Set Input Mode UI Only and Set Input Mode Game Only. These nodes are able to take your character controller’s input away and only allow UI interaction for the time, then game only returns the focus to your player.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Here’s an old (but still relevant!) rundown by the great Matthew Wadstein:
I’ll post the solution I found here, to make the character remain “immobile” (only being able to move the camera)
First I created a variable “TestMov” and left it as false
Then in Event Begin I transformed the variable into true, I added a daley to keep it that way for as long as I wanted the character to be immobile and then transformed it into false again.
Inside the inputMov event I placed a branch to check whether the “test mov” variable was true or not, if it were true nothing would happen if false, the character would move again