Extract GotoScene Name from a button?

Hello,

Is it possible to extract the goto scene name from a button.
I want to automatically assign the name scene to the id of an element.

Thanks in advance.

On a click handler set to JS you get “element” pointing to the button element as parameter to the callback function. Meaning element.id is the ID you assign to the button.

1 Like

Thanks, I’l try this :+1: