Skip to content

Broadcast

light.broadcast() will send a message to a list of players on the server.

Sending to individual players

To send to an individual, check out light.send()

function light.broadcast

Server Synchronous
1
2
3
4
5
function broadcast<T>(
    message: Message<T>,
    to: { Player },
    data: T
): ()