Actors vs. components

I don’t blame you for not answering. I am very thankful for all help i can get.
I have a question though:
Where shall i put this code?
If I put it in the constructor I think the scale will not be updated if I change the value Height.