getAllAnimations() is an array. Here are the names of the first 2 animations:
runtime.objects.Cannon.getAllAnimations()[0].name
runtime.objects.Cannon.getAllAnimations()[1].name
But I would like to assign the local variable string "allAnmt" so that it countains all the animations of the sprite, is it possible?
Because what I get now is just empty spaces separated by comma.
As many commas as there are animations -1. But there are no names. Why?
With your script I select the animation at that index. I want to get the names of all the animations.