moveTo
Documentation on the moveTo packet sent by the client to the server.
Last updated
Documentation on the moveTo packet sent by the client to the server.
Last updated
This packet is sent by the client whenever the player clicks somewhere within the navigation mesh of a . The packet specifies the X and Y of the new location, and then the server propagates that to all the other players in the room. The direction is not included in the packet, because it is calculated by the server.
x
number
The X coordinate of the target position.
y
number
The Y coordinate of the target position.