Button action mimicking

Let us say we have two buttons. Button A and Button B. Button B is made to show a notification " Hello ".

Can I set the Button A's event to be this.ButtonB.onClick ?

Is this possible ?

Not directly but you can probably use the Execute Code action and execute the event handler method.

Can you please elaborate how I can do this

Solution found:


is the code that goes into the execute code :blush: