Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit3bb1da2647

README.md

set

Write one named value on an entity, the way a script would.

zero values set car brake true
zero values set car rpm 3200
zero values set car wheelSpin '[0, 12.5, 0]'

The entity is named by its id or its name. A number, true / false, or a three-number list (a vector) is the value; null removes it. A name keeps the kind of its first value. Whatever follows the value (a material property, an Audio voice, a bound UI prop) reads the new value on the next frame; nothing is sent to other peers unless the value was declared to replicate.