startx and starty are instance variables for the card object you should create.
you can do this in the card properties by clicking add instance variable.
you could have an event:
card on created
card set startx : card.x
card set starty : card.y
make an event:
card is not dragging
create a subevent
system compare two values : card.startx is not card.x
or
system compare two values : card.starty is not card.y
add action
card set position :
x - lerp(card.x, card.startx, 0.5)
y - lerp(card.y, card.starty, 0.5)