You may want to use this extension: Snap objects to a virtual grid [GDevelop wiki]
There’s a “GDevelop5_snap-object-to-grid.zip” example here: GDevelop Examples by GameTemplates
And perhaps this also helps: 4 Direction Walking
You may want to use this extension: Snap objects to a virtual grid [GDevelop wiki]
There’s a “GDevelop5_snap-object-to-grid.zip” example here: GDevelop Examples by GameTemplates
And perhaps this also helps: 4 Direction Walking