event on vector change?

How to fire an event on vector change? vector is changing on event tick basis. how to compare new value to its older value which was a moment ago?

Store the old value in another vector before changing it to the new value and compare it.

can you show me some example… i tried but it didnt work?

well adding delay of .0001 seconds after storing first value it worked!