• MousePotatoDoesStuff@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      Yeah, I made the script check whether it’s a child of a Node2D before accepting its parent as its component.

      Some other solutions might be:

      • removing the @tool modifier (not applicable in my case)
      • making the user manually assign the component (not necessary in this case)