Rotate player to enemy from array

What is the error? About ‘none’? If so, then you need to check the thing coming out of ‘clicked actor’ is valid.