Let's say I want to display some text over a bar chart. I use a rectangle to cover the chart on layer 2 and put the text object on layer 3. I use a button to toggle it "onclick" I run the GGBScript command "SetVisibleInView(Textobject,3,true)" and "SetVisibleInView(rectangle,2,true)". For me, nothing happens. I also set, under the text and rectangle object's settings advanced>Misc>correct layer. Is there something I'm doing wrong?
EDIT: I assume "View Number" meant layer number. Is this not correct? What is the view number then?