beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Cables.UIMode

UIMode
op id:7c110d60-829f-4b06-b3e4-0af911550570
Outputs `true` if patch is executed in the cables editor (UI)

summary (oneliner)

This op is useful to find out if the patch is viewed from inside the cables editor UI or embedded into a website.
This can be helpful, e.g. if you want to display debug information only when working on the patch, but not when it is shown publicly (outside the editor).

doc

youtube id

collections

related ops

Inputs

Outputs

UI (Number)

True is the patch is viewed inside the cables editor


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using UIMode

Public Patches using UIMode