well im sure it has multiple ways, but I usually just export sprite sheet and just drag into the player scene as sprite and use animation player to control the animation.