Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
245 B
14
Indexable
Never
tool
extends Node

export(bool) var btn=false setget set_btn

func set_btn(new_val):
	if(not new_val):
		return
	
	var wk=weakref($AnimationPlayer.get_animation("New Anim"))
	self.set_meta("ani",[wk])
	
	#print(self.get_meta("ani")[0].get_ref())