Tween Opacity based on Y position

Hello, can someone help me explain why this simple event isn’t working?

38282fd3f3c8d936f340d408ec6a5654

I suppose this is setup so that If player Y position is above the trunk’s Y position, the trunk should fade out. Otherwise the Trunk stays visible.

What I get is the trunk permanently invisible no matter where i position the player. The center and origin points of both objects are setup accordingly.

I fixed it but i dont know why or how it’s fixed. I had to remove “Center” in the expressions but the actions were reversed… If i put it how it is in that image everything works… but why does it work? Is the Y axis reversed? Is that what it is?
Doesn’t the “Center” expression represent the center point of the object? I used this expression before without a hitch.

540696855ab6de84dcdf04209f474217

Change it from a numeric comparison to comparing the position of the tree to the player:

The numeric comparison does not filter the set of trees to reference in the actions, it just returns true or false. The action will then be on all trees.

Thanks. I had to add a “For each object” condition though. Otherwise i would only apply if I was above all trees.

I had to change the conditions to refine it better though. Where’s an expression that compares the position between two objects in respect to a range of angles though? For example with this image if player is within 250-290 degrees of TreeTrunk’s, then TreeTrunk fades out. If there’s a way to incorporate with the boundingbox expression even better to account for the width.

I managed to solve it after banging my head on the keyboard enough times but thanks again for the help provided