ive making a side scroling game basic and i made it so when he presses space he holds his sword out but how do i make an enimy who touches that animation only die but when he goes back to like walking left and they toutch it they dont die
hope u understand and can guess my spelling mistakes