I’ve created a custom function in a function library to enable/disable input and set input mode at will, like this:
But when I test it in the player, the input does not get disabled:
I’ve tested it in multiple ways, like switching player character/pawn, putting it in a tick instead of begin play, etc, but the input never gets disabled May this be a bug?