What's wrong with this code?

Godot Version

4.4.1v

Question

I’m trying to link these sprite scenes, but the previous one won’t stop playing, and the connection isn’t working.


^^^ previous one

^^after one

Hi,

What you are trying to achieve is not very clear. What do you mean by “linking sprite scenes”? Do you have an example?

1 Like

Disable animation looping in animation “calling” then it will play the animation only once.

Have you connected the signal properly by double clicking on it in Node >> Signals when you have animated sprite selected?

The sequence i want is scene with animatedsprite2D->next scene with animatedsprite2D


1

2

Okay, that’s clearer now.
Have you looked at @gill’s suggestion?

yes, i looked at @gill’s suggestion and it works well now

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.