Add height to widget onclick

Is there a way to add height to a widget on a onclick event?

I have 1 rectangle widget with a default height of 100px and a button. On clicking the button I would like to add 150px to the height of the shape each time the button is clicked. Is this possible?

Yup. Just use the “Set Size” action and get the new height of the widget on every click.


To change the height of a different widget just replace the “This” with a local variable referencing the widget you want to resize.

Perfect, thank you @huban that worked a treat.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.