how to cast to enemy to get the name variable

i tried but it gives me this