I'm starting a 2d project, I completely animate the first enemy, but when I go to fight him the cursor does not mark him as an enemy and the attacks do not affect him either. How can I fix this? I want to do combat in real time but with this it is impossible, it is not interactive.