After working on a game, the (animated) sprite suddenly dissapeared and I have no idea what I have done. The collision box is still there, but I can't move the character when starting the game, and the following error is given, once the skeleton mob collides with the player:
Invalid get index 'health' (on base: 'KinematicBody2D').
Is there any way to find out from the screenshot I attached, or is more information needed? I also included screenshots of the code, where the mistake is evoked, and where the player's health variable is initiated.
If anyone helps me by any virtue, I would be exultant.