Good morning,
how can I access the secondary and generic properties of a TextureRect (or of any other unique Node) through code?
Specifically, the Scale:
I wrote this in my code but it isn't working, obviously:
func _process(delta):
if doUnselectBtnAnim:
if self.scale.x > 1:
self.scale.x -= 0.1;
if self.scale.y > 1:
self.scale.y -= 0.1;
Coming from Unity, my idea of accessing the Scale property could be this:
self.Control.scale;
But this isn't working either.
I want to understand the logic behind this, may someone explain it to me?
Thank you in advance!