Skip to content

Api > SyncVar > SyncGet()


SyncVar.SyncGet()⚓︎

Retrieves the (synchronized) value of the Synchronized variable.

Returns:⚓︎

type Description
any Synchronized value of the variable.

Usage⚓︎

---@type SyncVar
local syncvar;


local val0 = syncvar.SyncGet()