X postion

[b]Hello dear friends

i am very happy to join this excellent software !!! this application is not believable :unamused: :unamused: :unamused:
dears i need small help , i am doing small game . in the game i try to compare when two object on the same X point to do the event , but this doesn’t work , here is the event that i am used : in the attachment

Any help please ???

Two objects that appear at the same X position can have a slightly different one : like 8.001 and 7.999. So, they are not equal (not exactly equal). So, you need to test if the position are approximately equals using two conditions. For example, using these two conditions :
The X position of Player is [size=120]> RVEnemy.X() - 0.1[/size]
The X position of Player is [size=120]< RVEnemy.X() + 0.1[/size]

(Please avoid using bold text for all your text next time).

better use collision condition, in my opinion.

i find other solution dear victor :smiley: :smiley: :smiley: also your idea is perfect :mrgreen: :mrgreen: :mrgreen:

Dear victor

why :wink: :wink: :wink: ???

Dear Umar

doesn’t work , because there is no direct collision …

Because it’s useless.