I need help with range finder

for some reason when my hero says distance2 the turret shoots itself

Welcome to the CodeCombat Discourse! :tada:
Could you post your code here and tell the problem more detailed?
Thanks!

2 Likes

Format your code using the </> button :slightly_smiling_face:.

1 Like

HI and welcome to the Codecombat Discourse! Please paste your code so we could know what we can help you with.

Its ok i completed the level :DDDD :smiley:

1 Like

Oh! That’s awesome! Will you please click the solution box by any post so this topic closes?