Multiplayer: add real-time cursor tracking

This commit is contained in:
Nick O'Leary
2024-08-05 16:18:05 +01:00
parent 8af821d380
commit 964271f9c7
2 changed files with 135 additions and 63 deletions

View File

@@ -110,7 +110,8 @@ module.exports = {
const payload = {
session: sessionId,
workspace: opts.data.workspace,
node: opts.data.node
node: opts.data.node,
cursor: opts.data.cursor
}
runtime.events.emit('comms', {
topic: 'multiplayer/location',