I'm using image points to set my collision boxes' size and position. I have them in pairs, say image point 1 and image point 2. The col box is placed in point 1 and and sized all the way to point 2.
I tried checking if both image point 1 and image point 2 exist by accessing it and checking if true, but it still proceeds even if there is no image point 2.
Tried as condition:
System: Sprite.ImagePoint(1) ≠ 0
System: Sprite.ImagePoint(2) ≠ 0
System: Sprite.ImagePoint("test1") ≠ 0
System: Sprite.ImagePoint("test2") ≠ 0
Tried as expression:
Sprite.ImagePointX(1) <> 0 & Sprite.ImagePointX(2)
Sprite.ImagePointX("test1") <> 0 & Sprite.ImagePointX("test2")
Any thoughts on why this is happening?