Everything from parseOrderedPair outputs a string, so if you’re trying to see if it equals -1 you need to use it within numericValue
:
ans=parseOrderedPair(this.latex)
check=numericValue(ans.x)=-1 and numericValue(ans.y)=-1
suffix: when check and button23.pressCount>0 "✅" otherwise ""
correct: check