Trascinare un tot di oggetti casuali in un contenitore

Problem:

Vorrei trascinare un numero di oggetti casuali in un box.
Esempio:
Ho 10 mele.
5 devono essere trascinate in un contenitore, ma la scelta può essere fatta in modo casuale.
Quindi l’alunno potrà scegliere 5 mele a caso.
Qualsiasi mela potrà andare bene, solamente dovranno essere cinque. Se ne trascinerà 6 o più… la verifica dovrebbe dare errore.
Colgo l’occasione per ringraziare il Team di Active Presenter per i preziosi aiuti che sempre ci date.
Greetings to all!

ActivePresenter version: 8.2.0

OS: 10.13.6

Notes:

Hi Betty,

Please take a look at this sample project to see if it meet your needs:
apple game.approj (316 KB)

You need to use Variables feature to achieve that.
Regards,
Yen

1 Like

Thanks so much for your HayYen sample project, you have been really helpful to me! :heart:
Sincerely

Sorry if I still bother you on this topic …
But what should I do if instead I wanted to divide the 10 apples equally into two different containers?
It can be done?
Thank you!

Hi,

You just need to add two different variables and assign each of them to each container.
apple game (1).approj (324 KB)

Regards,

1 Like

Thank you so much HaiYen! :kissing_heart: