Tells the Socket.io client to send data to the server.
Triggers on Completion
|Socket Behaviour||The Socket.io client to perform the function on.|
|Event||The event that the server is listening for.|
|Value||Data to send to the Socket.io server.|
|Data||Outputs the data returned from the server. It can be in JSON format, text, a value or other format.|
When your player is finishing moving, tell the server where the player moved to. Then the server can broadcast an event telling all the other connections that it should update their positions.