How to track my player sprite position in a platformer multiplayer game

Hello, I’m making a platformer multiplayer game using and phaser and I’m finding it hard to track my player position in the arcade physic

If I use the update function to update my player position, the collision will not work but if I use set velocity I will not be able to assign movement and check the position of the player from the server

Sorry I cannot answer. Multiplayer gives significant 3x more difficulty in my view.
It’s important to note that all players should receive the positioning of all players.
Technically, collision should be moved to the server I think, and hence you cannot use phaser collision code. Phaser is client code.