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,984

Post » Tue Apr 22, 2014 10:53 pm

abs(x1-x2) will give the x distance between two x positions.
B
94
S
33
G
113
Posts: 5,356
Reputation: 73,273

Post » Wed Apr 23, 2014 5:35 pm

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


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Lordshiva1948 and 10 guests