Forum Discussion
LaurenDuff-1201
4 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
4 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
- 8 months ago
- 8 months ago
- 2 years ago