Log inGet started
Package

values.toolbox

Newest version

This package holds more than this page lists. See all of its files in its world.

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.