# How can I

Get help using Construct 2

### » Tue Mar 17, 2015 6:53 am

How can i determine distance and angle in the layout or how can i know it
B
75
S
28
G
17
Posts: 221
Reputation: 13,625

### » Tue Mar 17, 2015 7:04 am

Hi,
Distance and angle between what?l
You can use system expression angle(sprite1.x,sprite1.y,sprite2.x,sprite2.y) and dist(sprite1.x,sprite1.y,sprite2.x,sprite2.y)
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

### » Tue Mar 17, 2015 7:14 am

For example when i set 270 degrees how can i determine this position in the layout
B
75
S
28
G
17
Posts: 221
Reputation: 13,625

### » Tue Mar 17, 2015 7:41 am

270 degrees on what?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

### » Tue Mar 17, 2015 11:08 am

0 degrees is generally facing right.

270 should make the object face up.
Who dares wins
B
57
S
17
G
21
Posts: 1,880
Reputation: 19,623

### » Tue Mar 17, 2015 11:55 am

0 = right
180 = left
90 = down
270 = up
B
265
S
49
G
15
Posts: 2,021
Reputation: 42,707

### » Wed Mar 18, 2015 3:53 am

and (-100,-100) what does it mean ?
B
75
S
28
G
17
Posts: 221
Reputation: 13,625

### » Wed Mar 18, 2015 5:01 am

in that context it mean nothing. if you mean what angle it means nothing because it not valid as it's not complete
B
43
S
17
G
2
Posts: 850
Reputation: 6,234

### » Wed Mar 18, 2015 8:12 am

bive us more information please. What type of help do you wish? Do you want player movement in degree or what? explain please abdalghani
B
265
S
49
G
15
Posts: 2,021
Reputation: 42,707

### » Wed Mar 18, 2015 9:43 am

I am confused from some capxes . . and I wanna gathering information about degrees and distances to make sprite move to right position
B
75
S
28
G
17
Posts: 221
Reputation: 13,625

Next