Compare two variables before and after function execution

Hello,

I try to compare two variables before and after function execution. It is not possible to subtract both values. There might be a time inconsistency. How can I face this problem?

Thanks a lot in advance.

Try using the variables to subtract, not the Get node.

Using the Get node to subtract should give you a result of 0.0 since both are returning same value at the time they are called.

This way? Because it doesn’t work either.


I’m using again a get node. How can I fetch variables otherwise?