A control can have multiple local messages configured. Local messages act like a direct connection between controls to change values and properties locally.
A control can be both the source and target of a local message, for example changing its own color based on the state
of its touch
value object.
On desktop platforms, a local connection between controls can be quickly created in the editor by holding down the ALT key and drawing a connection between source and target controls. On all platforms, the target can be picked using the picker icon in the target row.
The enabled state of the message.
If a message is not enabled, it will not be sent.
The trigger conditions for the message to be sent.
If the message enabled flag is set to on, it will be sent only if any of the value objects enabled here change, and only if the configured change condition is being met.
Any of the control's values can be enabled individually here, with one of the possible change conditions of:
The source value to be sent to the target control.
The source value can be one of the following types:
A constant value.
The current index of the control in its parent list of child controls.
The current value of one of the control's value objects.
The current value of one of the control's properties.
The target value and control of the message.
Enabling target picking mode using the picker icon on the right will assign the next selected control in the editor as the target control of the message. Pressing the picker icon again (or pressing the ESC key on desktop platforms) will cancel target picking mode.
After selecting a target control, the name of the target control will be displayed and clicking on the target control's name will select the control in the editor.
The target value menu will be populated with the available target values. The target value can be one of the following types:
One of the target control's value objects.
One of the target control's properties.
The scaling to apply to the source value.
Scaling is applied using the following calculation:
out = min + in * (max - min)
The type conversion to apply to the source value.
The conversion can be one of the following types:
We use cookies to deliver website content. By continuing without changing your preferences, you agree to our use of cookies.