Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team




Where’s the problem? It’s not a function? I thought that it’s a function defined by CodeCombat.


Level…well…level one in the Glacier… :joy:


读第一到第六行说的东西。Vector 的确是 CodeCombat 已经定义好的Function。但是你用错了。你说的partnerPos 不是一个Vector。


So, a Vector is an item instead a position?


A vector IS a position, but it’s different from the (x,y) and the {“x”: x, “y”: y} positions. You have to convert the usual types of position into a vector if you want to add the vectors together.

Search online and see what vectors are