Can anyone help me with this pls? I don’t know what to do and what’s my mistake
Instead of typing
nearestEnemyDistance() = distance
try
distance = nearestEnemyDistance()
I think the problem is that you got the two flipped. This might not be the only problem because I can’t see all your code. Just try that for know