Gui.clone not use animation group

Hey there,
when i create a clone, he don’t use animation group in Atlas. It’s normal ?
Should I animate it in the script ? How ?

Thanks for advance.

In game, only the uncloned node is animated.

It looks like it doesn’t copy the animation. I feel that this might be a bug. Feel free to open a ticket on GitHub.

In the meantime the workaround is to call gui.play_flipbook(node, anim):

	local node = gui.get_node("box")
	local anim = gui.get_flipbook(node)
	local clone = gui.clone(node)
	gui.play_flipbook(clone, anim)
2 Likes

Ok, it works with gui.play_flipbook.

I try tomorow to open a ticket.

Thanks. :slight_smile:

1 Like