Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | entomology123 |
Hello
I have a character card that displays their stats and uses a TextureRect node for their face.
I want it so when it takes damage, an animation plays, causing the image to change to a different one as well as do a side to side shake.
Because it is a texturerect bound by its parent’s(A vbox<panel<Controlnode) size and size flags, it will not move.
Is there a work around for this? Because using a sprite means it won’t obey its control nodes rules. which means I would have to hardcode its location.