Follow character

Hello, how are you?
I’m new to the world of game creation and I’m starting with Phaser 3.
My enemies are in the form “this.groupEnemy = this.physics.add.group()” and are following the player using the code [update] "if(this.nEnemies>0){

       let enemies = this.enemygroup.getChildren()
       this.seguePlayer(enemies)

[create]
“this.seguePlayer = (enemy) =>{
for(var i = 0; i< enemy.length;i++)
this.physics.moveToObject(enemy[i], this.player, 200);
}”

Is there a faster and safer way?
thanks.

That’s fine.