I want to click a button and have it alternate showing a shape a made on the canvas. Like toggling the shape on and off.
You can either use a variable to control the state and define conditions on the button's onClick event or place the button inside a dynamic panel with two panels, both with copies of the same button. One of the buttons can have the onClick->show shape event and the other the onClick -> hide. Then add another action to that event so that when the user clicks one button the panel that holds the other shows up.
Now Prototyper 4.6 includes the 'toggle' event.
What about version 7.1.1? I can't find the 'toggle' event, is there a way to access it?
Hi Jack ,
Are you using the free version? Have you got a license?
In case you have a Justinmind license you should be able to create an "onToggle" event. See the screenshot attached.
Comments have been locked on this page!