Momentary button

Generates events to perform methods. Includes Minimum hold time and Maximum hold time properties.

Events

Use these button events to trigger methods:
Event
Generated at runtime when
MouseClick event
An object is clicked or touched and then released.
MouseDown event
An object is clicked or touched.
Use these methods to configure the behavior of the MouseDown event:
Minimum hold time
Minimum time of the button active state.
For example, if
Minimum hold time
is set to 2 seconds and you select the button for 0.5 seconds, the MouseDown event lasts for 2 seconds.
Maximum hold time
Maximum time of the button active state.
For example, if
Maximum hold time
is set to 2 seconds and you select and hold the button for 5 seconds, the MouseDown event lasts for the first 2 seconds.
MouseUp event
The click or touch of the object is released.

Example

Default momentary button
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.