beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
VarSetNumber
Ops.Vars.VarSetNumber_v2
Namespace: Ops.Vars
set a variable number

summary (oneliner)

variables are numbers you can read anywhere in your patch without creating very long cables

they can also be written and read by external scripts when embedding cables patches:

https://docs.cables.gl/dev_embed_vars/dev_embed_vars.html

doc

issues

youtube id

collections

related ops

Inputs

Value (Number)

Variable

Variable (string /Number)

Create new variable (Trigger)

(Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
variables:


video tutorial:

Credits


Changelog


created op
2020-04-16 - pandur

Ops.Vars.VarSetNumber2 renamed to Ops.Vars.VarSetNumber_v2
2020-04-17 - pandur

added core lib: cgl_vars.js
2020-05-15 - pandur

added lib: cannon.js
2020-05-15 - pandur

Examples using VarSetNumber_v2

Public Patches using VarSetNumber_v2