Hi @chloe,
did you mispelled x_pos and y_pos ?
this.released = function() {
this.move = false;
this.rest_posx = this.x_pos;
this.rest_posy = this.y_pos;
}
Hi @chloe,
did you mispelled x_pos and y_pos ?
this.released = function() {
this.move = false;
this.rest_posx = this.x_pos;
this.rest_posy = this.y_pos;
}