How do I only distance check X?

Get help using Construct 2

Post » Tue Apr 22, 2014 9:31 pm

I just want to compare the X distance, is that possible or do you have to compare X and Y?
Image
B
20
S
4
Posts: 382
Reputation: 2,974

Post » Tue Apr 22, 2014 10:53 pm

abs(x1-x2) will give the x distance between two x positions.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Wed Apr 23, 2014 5:35 pm

@R0J0hound - thanks.
Image
B
20
S
4
Posts: 382
Reputation: 2,974


Return to How do I....?

Who is online

Users browsing this forum: rayolf, Yahoo [Bot] and 7 guests