I have a trace from the HMD (VR, although it is not relevant, because it would be the same without being vr), and I want that when I’m looking to an object (The hit works) for ‘x’ time do something.
In this case i want 3 seconds looking to a mesh, and start a function.
I tried to get the time, and add 3 and compare the time again, but I think I did it wrong, because it doesn’t work for me, or because there is no way to do it in that way…
Somewhat correct. Depends on your needs.
Though I assume you want to reset the timer every time you look at another object or no object, so you need to do the comparison right after the trace and get rid of the DoOnce