Hello there.
I’m a beginner in game development, so I often ask questions.
I used the resource bar to display a 30 seconds timer.
Question 1.
I used a tween event to change the resource bar to red color when 10 seconds are left, it doesn’t change.
(tween object HSL color)
I want the stopwatch sprite to move along the right end of the resource bar with it.
I applied the sticker behavior to the stopwatch sprite, but it doesn’t follow the resource bar.
You can’t change the colour of a resource bar. I suggest that you duplicate the resource bar, and make the image red. Place it behind the blue resource bar. Then tween the opacity of the blue resource bar to 0.
The sticker behaviour moves when the object it’s stuck to moves. The resource bar isn’t moving, it’s the filler bar that’s expanding.
Also, you appear to try tweening the clock x position to -15 in the last event, but will never fire because the timer gets reset in the second event.
You could achieve the result you want using two slider bars, and have the stopwatch as the thumb image. Then all you’d need to do is set the initial value to 0, the max value to 30 and the following events: