Untitled
unknown
python
3 years ago
371 B
31
Indexable
tool
extends Node2D
export(bool) var btn = false setget set_btn
func set_btn(new_val):
print("set testing=>",$tester.get_custom_variable())
######## tester node ########
tool
extends Node2D
var custom_variable=3 setget ,get_custom_variable
func get_custom_variable():
var stack := get_stack()
print(stack) # this returns empty array []
return custom_variableEditor is loading...