Use a variable to add the costs of premium features that are selected or deselected using an iOS switch component.
See a video of how to do this step-by-step in this webinar:
https://support.proto.io/hc/en-us/articles/115001585411-Model-advanced-prototypes-that-use-variables-part-II
TAGS:
variables
variable
math
addition
switch
switches
fire an items event
An example project which allows the user to designate the number of times the Star component Spins. Simulating a conditional animation loop according to the input of the user while using a total of 2 variables and a container with 3 states.
A project which sorts your players according to the number assigned to them by highest to lowest. You can clear to reset everything back. Created using containers and variables.
Can be used to make sure everyone's turn in the game is mapped out correctly.