I drag sprite and when something is going wrong, for example i drop to wrong place, how sprite can return to previous position
?
Develop games in your browser. Powerful, performant & highly capable.
Set old x,y coordinates if move fails set position to old x,y coordinates
thanks, solution was so close
No problem glad I could help...