Clone a button and take the OnClick with it

I recently learnt cloning a button (thx to help on this board).
Is it possible keep the onclick functionality that was behind the original cloned button?

No, you need to create separate blocks.

Another option is to put the content of the onclick button in a procedure, and then call that procedure from both onclicks. You can also try using the Any Component Button Click blocks.

1 Like