Make enemy movement like an animation

Hi, I wanna ask that can I make the enemy movement into animation in Unity.Because I really bad at coding So when facing some complex movement of the boss I’m just want to bring the 2d animation background that contains the boss action.So can I do like when it reach 50% of it hp. Then play that animation, with the collider ,So player can be hitted ,And player can hit it too .The animation will be loop until it reach 0% hp then die.
SO IS IT POSSIBLE .
Thanks for having time for me
[Heart.Emoji] [LaughingWithTears.Emoji]
And Yes I’m a beginner.So make sure your answer is as simple as possible. Visual codes will be really helpful.

No, I don’t believe you can do this. The Animation system is pretty blunt and doesn’t really have variables of its own. To control the animation system, you have to pass it values (called Animation Parameters) and that means coding in the first place. If you want to get good at Unity, you have to improve your coding skills.

There’s always Visual Scripting, which I’ve done a lot with and I taught a class in Visual Scripting, but it’s not the solution to everything. I strongly recommend that you take the Junior Programmer stream on learn.unity.com or perhaps try the excellent series on Beginning C# with Unity put together by VegetarianZombie on Youtube.