Would this retrieve the X coordinate of the sprite the last time it was drawn (ie. the previous tick) or literally the last position (eg. Set X to 5, Set X to 10, Set X to 15 all in one event, then last position returns 10)?
Even so it's pretty simple to do yourself, and it's hard to fit it in to the engine considering plugins, behaviors and events can all modify an object's position.