Resource child node instantiation

Godot Version

v4.2.2.stable.official [15073afe3]

Question

I tried dropping a child node into my Resource’s code. That is not allowed because it does not inherit Node as it is a Resource. But I can create a node manually.
Where is the difference and how should I approach this task?

I suppose you created an instance of the class TimerMS. It’s not a node in your scene node tree, so it’s allowed in any scripts.

So a class instance is not a node. I figured they would be very similar or even the same after reading the documentation. Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.