Load AnimationTree State Machine in Node inside BlendTree

Godot Version

4.3

Load AnimationTree State Machine in Node inside BlendTree

Hello,
I have an animationTree type StateMachine with all these animations and connections, and its working fine (1) (*As new user in the forum I can only attach one image)

But, I’ve realised that what I need is a BlendTree. With a node StateMachine and a Blend2 to override the animations with some filters, like this (2)

So, I’ve created a new AnimationTree type BlendTree.

Now, I want to copy all the nodes from my original StateMachine tree to the stateMachine Node in my new try. To avoid do manually again all the connections, etc…

Is there a way to do it?

I’ve tried to drag and drop, but is not possible (3)

There is an option to Load a state Machine (4)

So, I’ve tried to “export” my previous statemachine. But the disk to save it is inactive, so I’ve tried saving the root tree node like this (5) (the screenshot is wrong, i’ve tried to save the statemachine tree)

This save the resource as .tres.
But, when I try to Load this .tres I have an error:

“The selected resource (AnimationNodeStateMachine) does not match any type expected for this property (AnimationNodeStateMachinePlayback).”

Do you know how to do it ?

Thanks in advance.

Solved! There is an option “copy” and them “paste” within the animation tree and automatically It Will create a new state Machine node