I seem to be struggling to do something that I could do quite easily earlier. Its prototyping button states by toggling visibility or using Show/Hide layer depending on the application.
I would do the following to create a button-
Have two states of the button
Drag the Active state under the Inactive state of the button
Go to Prototype in the Inspector
Change Visibility from Default to Custom
Click Show Layer or Hide Layer or Toggle depending on the application
Click Play and I had a working button that I could click and it would change states.
I could then use the same button as a symbol and use it across my document where I could easily rename the button text on both states, as applicable. It worked like a charm!
With the new update the Active state of the button doesn’t go under the Inactive state, it just sits around it somehow, I suspect that’s a Stacks thing. When I end up clicking command to ignore the stack layout, it does sit under the Inactive layer, but when I try to reuse it across my file, I still see the Active state button protruding from the edges. Turns out it doesn’t resize along with a change in text like I used to use it before.
I played around with it a little bit and figured out that after step 2 in your suggestion, I don’t have to ask the lower layer to ignore Stacks, if I just create a group, and use the drop down in the inspector to convert that into a Frame.
So far it’s working well for about three instances I’ve used this method for.
Is there any particular reason you see why I should check ignore stack layout?
Ohh, that’s a really nice tip, thank you! I didn’t know you could also use a frame to “wrap” the lower layer and then you don’t need to use the Ignore stack option.
However, In this setup the symbol instance will have the wrong dimensions, but it looks good and interactivity works.