Hello everyone! I’ve been working on a project that involves night vision. What I’m doing is at the beginning I want the UI for my night vision to be hidden and whenever I pressed “N” (Which is my night vision key) that’s when I want it to appear. So my pov would be clean without messy UI ifI’m not using my night vision. I made some works and it doesn’t seem to appear. Why am I missing and needs fixing?
This is my UI for night vision. (I set the visibility hidden so whenever the game starts, its clean looking, is it the right way to do it?)
Sounds good to me. In the 2nd 3rd screenshot, does the input trigger? If you add a Print String, does it print? If it does not, do tell where this input is being handled. Almost certain this is in the Pawn.
Nah, put it after the input. Does the input work? I meant the 3rd screenshot, somehow my mind imagined 2&3 as one. Are those 2 screenshots from the same BP, the Pawn you’re controlling?
You’ve hidden the canvas; even though the entire widget shows, the canvas and its children remain hidden. Leave the canvas visibility on default settings. instead, set root of the widget (above the canvas) to Hidden. Input can then show it as it already does.