I've been working with "Node"-s, writing their script, then I started to set up setters, like one that does nothing, hence protecting the value.
I figured that cantset(x): method could be useful at any of my nodes, so I made a new class for it ("MyNode"), extending "Node".
Then changed the old "Node"-s scripts to extend "MyNode".
I thought it would change the simple "Node" to a "MyNode" with cantset():, so added setget cantset and got error in editor that "The setter function isn't defined.".
Tried right-click "Change Type" too, but don't seem to do anything after I select "MyNode".
Weird thing is, I have two similar node that, on hover over shows "Type: Node" for one and "Type: MyNode" on the other, but neither can find my cantset.
I guess there might be an already built function that could be used to protect var-s, I'm curious to find out about that.
However not understanding why it happens, is what bugs me more.