I know you can use "Interactive" to control user input, but is there a way to
block or disable only the mouse and/or only the keyboard?

If so, could someone please post the code to do so? Thanks in advance.