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

UIMode Op

Ops.Cables.UIMode


UIMode
Collections:dataInfo  
Namespace: Ops.Cables

Op author: pandur

Outputs `true` if patch is executed in the cables editor (UI)


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).



Inputs

Outputs

UI (boolean Number)

True if the patch is viewed inside the cables editor

Remote Viewer (boolean Number)

True if the patch is viewed inside the cables remote viewer

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

UiMode Example

Open Example In Editor

Patches using UIMode

Changelog


add output boolean for remote viewer
2022-03-07 - stephan