Godot Version
4.7
Question
I’m trying to display the health of my enemies in my game, but when i set the value in code, it does not show up in game, but the value is set properly, as i print it to debug.
The SubViewport update mode is set to always, so i have no idea what could be causing the bug.
You’re not actually drawing the viewport, see this for instructions on how to use them (unless you use the viewport texture on the sprite but didn’t mention, then we’d need more details)
so… do i put a subviewportcontainer inside the sprite 3d or what should i do?
What have you done currently? Are you using a ViewportTexture?