Unit 5 Activity & Turtle - Is there an id for the turtle

csp-unit-5

#1

One of my students is trying to hover over a finish button in his app with a turtle. He would like it to change screens when the turtle hovers over this button. We are unable to find any code, that had been learned, that would allow this to occur. Any suggestions?


#2

I know one of the events is if you have the mouse hover over the element, but as far as I know, there’s no event for when the turtle is in the same position as an element.

Basically you’re looking to do “collision detection”, something not built into App Lab. There’s been a few posts about it in the past. Looks like there might be a way that requires a bit more coding: