Return Piece to Old Location

If I wanted to have “the game” return a piece to its Old Location based on a condition (like the CurrentMap being inappropriate for this piece), I’m guessing I would give the piece a Send to Location trait sending it to its old x and y positions on its OldMap in the Destination option of Location on Selected Map. I’m guessing that I could specify a unique Named Command (like GoBack) in this trait, and then in the Location on selected Map specify the Map as {OldMap}, the Board as {OldBoard}, the X position as {OldX}, and the Y position as {OldY}.

I was wondering if this is correct or if there might be an easier way to do this.

This would be part of an error trapping mechanism to prevent a player from dragging this piece to an inappropriate location.

Thanks.