You change the scale variable. It's a vector2 or Vector3 depending on the node it's on.(Vector2 for 2D; Vector3 for 3D)
It would look something like this:
scale *= 2 #this doubles the size of the node it's attached to.
scale /= 2 #this halves the size of attached node.
Hope this helps!