Widgets/Producer
Slider Widget
Slider Widget
A "Producer" type widget. Slider Widget passes its internal value through to the connected widgets whenever it receives an event of any type. This widget provides a visual element to change its internal value, which is configurable to a specified range. Changing the slider will trigger an event at the output port.
Inputs
- In (DataType: Anything) When any event arrives at this input, the widget will output its current value
Outputs
- Out (DataType: Number) Outputs the current numeric value of the slider
Custom Settings
You can configure the Min Value and Max Value settings to define the range of the slider. The slider will output values between these two limits.

📌 Important Notes
- If the current value is set outside the min/max range, it will be automatically clamped to the closest valid value
Examples
This example we use a slider to control the cropping of an image and display the result in a Display widget.
Drag the example onto the workspace to explore and experiment!
In this example
- The first Slider widget is set to a range between
100and300and is connected to theXposition port of the Logic custom widget, controlling the horizontal coordinate for image placement - The second Slider widget has a range between
0and200and is connected to theYposition port of the Logic custom widget, controlling the vertical coordinate for image placement - The Logic Widget Group custom widget processes the coordinate values from both sliders (
XandYpositions) and uses them to calculate the image position - The Display widget receives the positioned image from the Logic custom widget's output port and shows it according to the calculated coordinates, allowing exploration of different parts of the image through the slider controls
Glossary
-
Clamped
When a value is automatically adjusted to stay within a specified range. If the value is below the minimum, it becomes the minimum value. If it's above the maximum, it becomes the maximum value.
-
Range
The span of values between a minimum and maximum limit. In the context of the Slider widget, this defines the possible output values the slider can produce.
-
Widget Group (Custom Widget)
Widgets created by combining multiple widgets into a single unit. Custom widgets work just like built-in widgets - they have input ports, output ports, and settings that can be configured. This allows complex workflows to be saved and reused across different recipes.
Note To create a custom widget, right-click on the Logic Mapper and select "Create Custom Widget", then configure it in the settings editor.