TextureProgressBar at GDScript change value not work in Godot4.0

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DSperson

enter image description here

  1. I use counting down timer to change TextureProgressBar property value in GDScript but not work, but i change value in inspector is work.
  2. I used same code at Godot 3.5.1 is work. I think is at bug at Godot4

This appears to work fine; there’s no bug. Some things to consider:

  • is the timer started? that is, is recharge_ability_animation called at some point
  • set the timer to autostart for testing, does the progress bar change?
  • while the timer shows as connected, is it connected in the way your expect?
  • is the timer configured correctly?

spaceyjase | 2023-03-27 13:30