Enemy animation - sprite no longer an enemy

When I animate an Enemy sprite with frames, the collision of a friend and enemy no longer works. Suggestions?

I tried both the “legacy animation” and the new “animation loop”, and I can’t get either of them to be treated as an enemy sprite.

See attached sample where I made a blinking block an “enemy”, yet the “friend” can touch it unlike the other enemy sprites.
arcade-Chicken-Run-EnemyAnimationTest

Kyle

Solved.

In the “blocks” view, the other sprites that are “enemy” look different. This is the “legacy sprites”.
When I went to “JavaScript” view, I found the enemy is created differently:

SpriteKindLegacy.Enemy

This works.
This one, SpriteKind.Enemy, does not.

Hope this helps someone else,

Kyle