Forum Discussion
LaurenDuff-1201
3 years agoCommunity Member
Assigning a value to images and adding to image values up
I would like to do an exercise where the learner can choose items (the item has been assigned a monetary value) and the total amount of these items will be displayed.
How do I do this?
WendyFarmer
3 years agoSuper Hero
Hi Lauren
Without knowing how you want it to function here is a quick sample that may help you get started.
I created a number variable for each 'image' inserting the default value on creation. Then I created a number variable called TOTAL and used that in the triggers to sum the images when clicked.
Related Content
- 2 years ago