Skip to content

Expose button background color as variable / condition #3786

@Thomosaurus6

Description

@Thomosaurus6

Is this a feature relevant to companion itself, and not a specific module?

  • I believe this to be a feature for companion, and is not specific to a module

Is there an existing issue for this?

  • I have searched for similiar existing issues

Describe the feature

I’d like to request a way to read the current background color of a button in Companion.

Requested features:
• A variable that exposes a button’s current background color value
• Or a condition “Button color equals [value]”
• Ideally usable inside triggers, conditions and expressions

Usecases

We often use buttons as visual feedback indicators (tally, router state, presets etc.). In more complex setups, the button color itself represents the final state after multiple conditions or layers have already been resolved by Companion.
Right now, there is no way to use that resulting color as a condition or trigger.

Let’s say a camera becomes live.
A button already turns red because it combines different module feedbacks for physical and virtual sources.
That button color is the correct, unified indicator of the state.
But currently we cannot use “Button X is red” as a trigger condition or a variable.
Instead we have to rebuild the logic that produced the red color, inside the trigger system. This is more complicated and error-prone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions