I am having a problem where whenever my character is damaged by a Bat enemy, an undefined type error occurs. If anyone has any ideas for a solution please let me know. It
video demonstrating problem & console screenshot attached
video demonstrating problem & console screenshot attached