Isometric grid with drag & drop help

Hi, I’m new in the forum and have started to learning Gdevelop about some weeks so at the moment I’m completely a newbie…
Anyway I’ve done some testing for an isometric grid with drag and drop but seems the last one didn’t work like expected.

P.S: The object is 32x32 pixels and it’s origin is set on the bottom right corner.

The object position from shifted and unshifted rows seems a little jumpy…

This is my code:
https://imgur.com/I0t7OFD

Thanks in advance and sorry for my bad english :stuck_out_tongue: