Switching between Animation can have many issues. I will show you how to create an animation in construct, import a sprite sheet and switch between all animations without any bugs. Spritesheet used in the video - (Author: Balmer)
Hide player controls
Hide resume playing