Hi. I have an enemy node (KinematicBody2D) and a player. When the player's sword detects enemy body entered it is going to call enemy's take_damage func but it is throwing an error.
hp -= count
couldnt be simpler, yet, this doesnt work and im curious why