A way to check if a variable is changing?

I want my score value to shake every time it goes up and there are too many different variables that add to the score. so I was hoping for an overall way for the game to recognize if the number value is changing?


This should work, just make it shake the score when temp is not equal to score. Make sure to set temp back to score afterwards.
Make sure to initialize both variables to the same value so that it doesn’t trigger on frame 1.

Edit: typo fix, formatting

Worked like a charm, thank you!

1 Like