✅ Solved: Listening to a positive or negative data change
Hello everybody, I hope I'm not asking too dumb of a question but I was wondering if anyone knew a way to listen to a positive or negative change in the view model data number?
I’m working on an UI element for a game and I need an animation when health is increasing and one when it's decreasing.
I know there's such thing as listening to self but it seems to include any kind movement.
So far my way around is to make a state for each number (luckily i only have 20) with “>=” between each positive step and a “<“ for each negative step back.
Thank you 👌🏼