diff --git a/core/object.h b/core/object.h index 6a867392d3b..0cb8fa50bf7 100644 --- a/core/object.h +++ b/core/object.h @@ -683,7 +683,7 @@ public: void call_multilevel(const StringName &p_name, VARIANT_ARG_LIST); // C++ helper void notification(int p_notification, bool p_reversed = false); - String to_string(); + virtual String to_string(); //used mainly by script, get and set all INCLUDING string virtual Variant getvar(const Variant &p_key, bool *r_valid = NULL) const;