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
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

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: 56
Reputation: 801

Post » Sun Mar 06, 2016 12:12 am

thanks, solution was so close :)
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Sun Mar 06, 2016 1:35 am

No problem glad I could help...
B
9
S
3
Posts: 56
Reputation: 801


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, gskunk, richcoz81, tarek2, Wartexnik and 40 guests