Calinou Sorry I didn't reply sooner, I'm a bit confused as of how to implement this in my own project, or what any of it does. It seems to be a script for a health bar, and I can't find any references to Label3Ds that I could change to "Label" to reference the ones I want to apply this behaviour to in my project.
Thanks for your help, and apologies for my newbieness 😅
Edit: After downloading the project and testing it myself, I noticed that it relied on Label3D's font_size property, which a regular Label does not have. Also, I feel like there may be a mismatch between what your script and I am trying to achieve; my current UI layout resizes the text boxes, and I would like to resize the font size to match, whereas yours changes the text inside and resizes the font to fit the predefined boundaries. I am not planning on using the contents of a TextEdit in my script, so is there an alternative signal to listen to?