0 votes

Hello !
Can I play an animation from animatedspriteB using a Call Func track in the animation panel of animatedspriteA ?

I created a Call Func track in animatedspriteA, targeting the other animated sprite node (B), then added a key and tried writing this in the 'name' section :

play("animationnamehere")

spoiler alert : didn't work :P
Is it even possible to do something like that ? :/

Thanks for your help !

in Engine by (245 points)

1 Answer

+3 votes
Best answer
  1. put only play on Name field.
  2. make Arg Count to 1
  3. choose Type as String
  4. put animationnamehere on the first argument field.

enter image description here

by (9,690 points)
selected by

whoa, awesome, thanks ! I'm amazed at the speed and kindness showned by Godot's community :)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.