Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Sensing bug?
- Reach-up
- New to Scratch
3 posts
Sensing bug?
Forgive me, please, if I'm choosing the wrong place to post this question. I'm a new student in the EdX Harvard CS50 class, building project 0, and I can't seem to get any proximity statements, i.e., sensing statements to work. The one sprite doesn't seem to know it's touching the other, or within a certain proximity of the other, even when they are overlapping. What am I missing?
- PhirripSyrrip
- Scratcher
500+ posts
Sensing bug?
Do you think that you can share a test project so that we can have a look at it?
; ; ; ; ; ; ; ;You thought I'd get away from you, didn't you?!
- drmcw
- Scratcher
1000+ posts
Sensing bug?
Have you put the if touching block in a loop like a forever block? Forgive me, please, if I'm choosing the wrong place to post this question. I'm a new student in the EdX Harvard CS50 class, building project 0, and I can't seem to get any proximity statements, i.e., sensing statements to work. The one sprite doesn't seem to know it's touching the other, or within a certain proximity of the other, even when they are overlapping. What am I missing?
forever
if <touching [sprite v]?> then
say [Hello]
end
end
- Reach-up
- New to Scratch
3 posts
Sensing bug?
Thank you, both. I've just shared a test script - here's the url: http://scratch.mit.edu/projects/16689602/ .
Could you please take a look? Many thanks!
Could you please take a look? Many thanks!
- Reach-up
- New to Scratch
3 posts
Sensing bug?
Never mind, folks! I figured it out. Thanks for your offers of help, though.
- Discussion Forums
- » Questions about Scratch
- » Sensing bug?