Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | birdWord | |
Old Version | Published before Godot 3 was released. |
Hello, I am making my first editor plugin at the moment, and I am trying to change an export var
in a node that is selected in the editor. I have got the list of selected nodes no problem, and I can read the value of the export var
from my selected node, but I am stumped as to how to actually set the value (for instance when I press a button, I want the value to update in the editor).
A simple nodeName.variableName = newValue
doesn’t appear to work.
Is my problem related to setget
?
If anyone can shed some light on this, I would be grateful!