Health bar and enemy detection