[Solved] Need some help with Reward and ruination

What do you guys think? The issue appears to be the last line of code; is it supposed to have parentheses?

Thanks guys.

1 Like

Did you try using parentheses?

No, it’s just that the arrangement was incorrect. It was supposed to be like
itemPos = item.pos.x + " " + item.pos.y. (Hint: The format was in the first block of code for attacking the enemies.)

1 Like

I have… I’ve tried multiple variations with parentheses. Were you able to make this work?

1 Like

Isn’t that exactly what I had? I can’t see any differences between this and the first block of code. Can you try explaining again?

1 Like

You have itemPos = item.pos.x " " + item.pos.y.

1 Like

The previous commenter said it needed to be itemPos.

I’m also not seeing any difference between the first block of code and the second. The line that is failing doesn’t appear different from the previous.

Nevermind… Got it…