Another way would be to add your own property with custom getter/setter and tween that. Your solution works, but more advanced things might be easier with this method.
post
As someone who just casually saw this post on Everything (and has no idea what godot even is), I must say the title threw me
replies:
all 4 comments