Disable player movement during interaction and then re-enable after interaction

Hi,

I hope that someone can help me out with this. I’ve created an object that the player can interact with. When the player interacts with it a widget appears onscreen with some text and when they interact again the text disappears. What I would like to happen is have the player unable to move whilst the text is onscreen and once they have finished interacting, by re-pressing the interact button, be able to move again. How would I go about setting this up?

I’ve tested both the Disable Movement and also the Set Movement Mode nodes by adding them to the end of my player Interact node graph. Each works but to be honest I don’t really know where to add them in my setup and also how to re-enable movement. Any help would be great!

I’ve included my interact and widget display blueprints below.