How can i setup Advanced Input Action for Cursor ?

I have it half way, if i press alt it shows but i have no idea how to disable it after the second press, can anyone help me ? also the cursor is not visible but other than that works