How to do it?

if (curFrame == 0) g_t0 = CurrentTime();
TimeSpan dt = CurrentTime() - g_t0;

maybe like this


howtodoit.vl (6.2 KB)

thanks, that’s exactly what I need

if you just want to measure time, you can also use the Stopwatch node…

thanks, yes, that’s even better for me!