Looping animations 2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Vincent Scalia
:warning: Old Version Published before Godot 3 was released.

I can play my animation in realtime with

func _ready():
   get_node("AnimationPlayer").play("walkcycle")

but it only plays through once… how can i make it play looping? I don’t want to have to use a function call keyframe to start it over every time… :frowning:

:bust_in_silhouette: Reply From: Ceilingdoor

enter image description here

This button makes your animation loop.

sweet. ty man

Vincent Scalia | 2016-06-08 15:38

:bust_in_silhouette: Reply From: iscamer

In Godot 3.1 the icon has changed, now it is as follows:

Godot 3.1 AnimationPlayer loop animation