Discuss Scratch

fishyfishyfishy
New Scratcher
1 post

how to keep track of clicks?

I am trying to make a project, but I need to keep track of how many ties the player clicks. is there a way to do that on scratch? if there is could you tell me . i am trying to make a game called punch the penguin.
jvvg
Scratcher
1000+ posts

how to keep track of clicks?

Well, you can either use the <mouse down?> block, or the "when [sprite1] clicked" hat block.
cowman33
Scratcher
100+ posts

how to keep track of clicks?

you could make a varible: “mouse clicks” and have it “if mouse down than change mouse clicks by 1”.
kayybee
Scratcher
1000+ posts

how to keep track of clicks?

cowman33 wrote:

you could make a varible: “mouse clicks” and have it “if mouse down than change mouse clicks by 1”.
more like: if mouse down, wait until (not mouse down), change variable by 1.

Powered by DjangoBB