UE4 Can a function run at the same time as Event Tick?
I have a quick question about the way UE4 works (specifically in blueprints). Do functions such as key presses and mouse clicks run while event tick is running? Let me give the following example. I have a variable set by default to 0. If I changed a variable at the start of the event tick function to 1 then changed it back to 0 at the end of event tick, and tried to get the variable on a key press, would there be any chance at all of it printing out 1?
Thank you very much and I hope this makes sense.
asked Mar 11 '18 at 06:18 PM in Everything Else
Event tick is firing every time a new frame is generated. Keypresses are fired when a key is pressed, and released for release event. If you are setting something on tick, and press a key to set a different value, yes. it will change, although once a new frame is created your tick will set it back.
answered Mar 11 '18 at 10:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here