Hi everyone I wanna ask how to add scores to my app

So, basically, i created an app called safetrees. i wanted to add a point system. when user plant a tree, 100 points are added. when user scan a dangerous tree, 50 points are added.
however, i tried adding variables but found out that it cant go through mutiple screens!
what should i do?
pls help! thx

You can use better "virtual" screens (on only one real screen).

How to use Virtual Screens - Tutorials and Guides - MIT App Inventor Community

Pull in the TinyDB component and keep score under tag SCORE with default value 0

thx a lot

@ABG
how to use tinydb?

image

StoreValue block, to store your score, and GetValue block, to recover the stored value. You must use the same tag in both blocks.

The save score part:

No!
8cdb558291ba5289ad4944f1e20f4f1ffa8f4d86

For this infraction, I sentence you to community service, having to answer a week's worth of questions about error messages including " " + 1

blocks

glub :hot_face: