Ive been stuck on this level for a while, I’ve looked at other posts, and they haven’t helped much. I’ve fixed most of the problems on my own, but there have been problems that pop up once I fix others.
var flag = self.findFlag()
var if item:
var itemX = pos.x it says pos is not defined
var itemY = pos.y