Hello,
I have problems in hiding buttons.
I am using composer API (composer.gotoScene( "scene_name")) for transitioning from one scene to another.
I am finding difficulties in hiding the buttons of one scene when moving to another scene.
Plot: Suppose there are two scenes, scene1 and scene2. The scene1 has button1 at coordinates A(150,100) and scene2 has button2 at coordinates B(150,200).
Problem: When I am going to scene2( by pressing button1 on scene1), and if I press on scene2 at the position same as the coordinates of button1 on scene1 (i.e., A(150,100)), it executes the functionalities of button1 automatically.
I am using the widget.newButton for creating the buttons and have separate defaultFile and overFile for displaying the buttons…
It will be very kind if anyone can help me with this problem.
Thank you in advance.
Shivani