mattcoder23
I was inactive on these forum for a pretty long time.
Basically, you need to setup 2 events. You also need an array.
on X pressed ->
start ignore user input
set "rewind" to 1 (custom variable)
and
on X released->
stop ignoring user input
set "rewind" to 0
when "rewind" is set to 0, you could to use the arrays push function to fill in the characters X,Y, also vectorX and vectorY. Later on maybe also the animation state and Ismirrored y/n? etc...(all comma separated)
if "rewind" is 1, you set all those information, according to the players position x,y etc...use the tokenat function to read the comma separated data in that arrays first index. don't forget to "pop on front axis" on the array after that. so the next frame will read the next position vector etc...