Custom
Emit to Socket
Last updated September 28, 2018
Description
Tells the Socket.io Client to send data to the server.
Properties
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. |
Outputs
| Data | Outputs the data returned from the server. It can be in JSON format, text, a value or other format. |
Examples
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.

