How do I return dragged sprite to previous position

Get help using Construct 2

Post » Sat Mar 05, 2016 10:53 pm

I drag sprite and when something is going wrong, for example i drop to wrong place, how sprite can return to previous position
?
B
113
S
28
G
48
Posts: 1,882
Reputation: 36,478

Post » Sat Mar 05, 2016 11:12 pm

Set old x,y coordinates if move fails set position to old x,y coordinates
B
9
S
3
Posts: 58
Reputation: 805

Post » Sun Mar 06, 2016 12:12 am

thanks, solution was so close :)
B
113
S
28
G
48
Posts: 1,882
Reputation: 36,478

Post » Sun Mar 06, 2016 1:35 am

No problem glad I could help...
B
9
S
3
Posts: 58
Reputation: 805


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 9 guests