How to make the cursor appear and hide

Not stupid at all! We all gotta learn.

You can make a new input action mapping by going to your input section in the project settings.

Press the plus icon and make a new input you name, then add any bindings you want to work with it by pressing the plus button next to the new input’s name