the center point of the
Player(x+32,y-32) is NOT insideWall:
(x+32,y-32) is testing the middle of the tile directly above the Player, not the center point of Player:
My aim is to determine if the tile is even an eligible place to move to. If there’s a Wall, you can’t move there; no collision necessary! ![]()
With some more experimentation, I’ve figured out more about the “point inside object” condition and why it’s not doing what I want:
I was acting under the assumption that it meant “if the specified point is inside the collision mask of an instance of that object”, but instead it seems to be “for each instance of the object, test the specified point”. Because of that, even though there’s a Wall directly above Player, I can still move up because the test point returns false for a different wall and the event executes. In my demo, if you delete all of the other walls, it works as intended!
To better illustrate it, here’s a simple game. I have three boxes, animation 0 is red, animation 1 is blue:

The behavior I (previously) expected was that if you click anywhere outside of the boxes, they turn blue. If you click within the bounds of any of them, nothing happens since the condition is true (and inverted). Instead, clicking the last box does this:

It’s executing the event three times, once for each box. It’s not the behavior I was expecting, but knowing that I can solve my issue. Thank you guys for your time!

