This repository contains the source code to my tutorial on implementing a grid based movement with Phaser 3: https://medium.com/swlh/grid-based-movement-in-a-top-down-2d-rpg-with-phaser-3-e3a3486eb2fd
If you are interested in using this functionality you should check out my following plugin: https://github.com/Annoraaq/grid-engine