I have scene "door"
this is how it looks in node tree.
So it has one animation "open" which include 6 frames and 2 collision keys (In a first frame is toggled on and in sixth is toggled off)
I instanced this scene to the main scene and it looks like this:
So, I needed to make it open when "paul" is entering to its Area2d.
Thats how i made it in a code:
But it doesn't work!
P.S.: No need to say me about examples, please.