Hi, my javascript is more than a little rusty and i have to set up a problem -
here’s my problem,
i’ve a button (lets call it btn1) and a text object (lets call it txt1) and now the following should happened
the button is always visible and at start the text object is invisible (opacity 0 %) or visible (opacity 100%). at start the opacity is 0 % !!
when you click on the button, the opacity of txt is looked for and changed either to 0 or to 100 % depending on the actual value.
I’ve managed to do some with changing scenes but as i have 30 of those textfield on one scene that way to complicated !!
Thanks for the tip, but this doesn’t solve my problem because i’ve to do this for a lot of buttons and textfields
and i’ve to do this individually for all buttons and related textfields
the thing is if you click on the red button below the tree then the corresponding textfield in the tree should be toggle between visible and not visible and this for a lot of textfield i’ve to put on the image
You would have to give all the elements a class name if you wanted to use javascript. You could use strmiska’s method and use the key combo of “Command + Click” to select the needed elements and set the timeline for all the selected items.