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
5
Posts: 382
Reputation: 3,104

Post » Tue Apr 22, 2014 10:53 pm

abs(x1-x2) will give the x distance between two x positions.
B
101
S
39
G
134
Posts: 5,588
Reputation: 85,514

Post » Wed Apr 23, 2014 5:35 pm

@R0J0hound - thanks.
Image
B
20
S
5
Posts: 382
Reputation: 3,104


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 5 guests

cron