Is there a way to resize a child node to it's parent node?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By indicainkwell
:warning: Old Version Published before Godot 3 was released.

For example, I have a scene with a layout like:

  • Node2D
    • Sprite

I add an image to the Sprite and it is now twice as big as the Node2D. So, when I instance this scene it has a tiny box to click and drag around. I can manually resize the sprite or the Node2D, but that’s kind of tedious.

:bust_in_silhouette: Reply From: Warlaan

A Node2D has a scale but it doesn’t have a size. The square shown in the editor is just a symbol to illustrate the Node’s scaling.
I think you can lock a node so that clicking the sprite will select the Node, but I can’t confirm that right now.