Change Touch Interface at runtime

I need Touch Interface enabled on some levels but not on others. How can I enable/disable it via code?

Additionally how can I change the interface dynamically so it looks different during runtime. I know I can set this in Project -> Input settings but I’d like to be able to do this at runtime.

To disable the touch interface, either call the “Remove All Widgets” blueprint node at runtime or go to “Project Settings > Engine > Input > Mobile” and clear Default Touch Interface so it is not automatically created.

To create it at runtime, call Activate Touch Interface on your Player Controller.