Godot Version
4.3
Question
Is this correct, i want to access the animation player in my monster.tscn in my filesystem to my monster_run.tscn scene, like the monster.tscn contains the actual monster with the animation, and my monster_run.tscn contains my characterbody3d, the script, and basically what you needed for a monster kind of thing. I am a newbie so i still don’t have an idea how to do it
var m_holder = preload(“res://Walls/scenes/monster.tscn”)
var monster_anim
var monster
func ready():
monster = m_holder.instantiate()
monster_anim = monster.get_node(“AnimationPlayer”)