I didn’t understand this question because it seems that you want to know the future values and that would be impossible, as it will depend on where the player will still move the cursor in the next frame.
But answering here to store the previous frame:
I think the answer of the Gruk is what you want. Look:
If you put your events checking the variables of “CurrentMouseY” and “CurrentMouseX” before to update to the current value you will be using the previous values. because Gdevelop reads from top to bottom.
Well thx that is bringing me 1 step closer yet i still fail to use it
Anyway o didn’t expect it will be confusing to understand what i need but when i read my own question it does lead into opposite direction so sorry for that
I do not need to know the value i do not care about it
I need to know if it changed
This white cursor is the selector i simply need to know if its position changed so so i can add sound to it when it snaps to another cell on its 16 pixel grid
Maybe there is easier or better way to do it (adding sound when it moves) but checking position was my 1st idea
Just to be clear it does not move with keys but it is object which position is changed to mouse cursor while mouse cursor is hidden