Skip to content

Api > SyncVar > Update()


SyncVar.Update()⚓︎

Asks for latest value of the variable to sent to this client again. You do not need to call this function to receive the latest changes, the changes automatically received. However, in some rare cases it is needed to make sure the value is the latest.

Usage⚓︎

---@type SyncVar
local syncvar;


syncvar.Update()

Extra Detail⚓︎

Note that it will takes few frames for variables to be updated. Use OnVariableChange event handler.