Discuss Scratch

2 posts

New Code Idea

I think there has to be a Sensing block for “when sprite clicked” because if I add a “touching mouse-pointer? and mouse down” block to an “if then” block inside a “forever” block to a sprite, the score variable will go up in the thousands instantly when I hold the mouse down on the sprite. This basically breaks the game I'm making and defeats the challenge.

Last edited by SuperScratchMaker001 (June 29, 2019 03:10:24)

Scratch Team
1000+ posts

New Code Idea

You can do something like this:

wait until <<mouse down?> and <touching [mouse-pointer v] ?>>
wait until <not <mouse down?>>

Powered by DjangoBB

Standard | Mobile