Is moveTo(200, 200); or any other coordinate considered math? In a student’s function, he is using this and I was wondering if it will fulfill the math requirement? Thanks

Here’s what my gut says:

The function as you’ve written it, using only static x,y values, isn’t really doing math since you’re not actually doing any computation. Something like moveTo(getX()+x,getY()+y) might. But then you’ve already got a move(x,y) command if you want to move the turtle relative to its current position, so that kind of trick might be more appropriate for moving UI elements.

I’ve got to believe that’s correct, because otherwise it would mean I just have to tell my kids to code their UI elements rather than using design mode in order to score big points.

1 Like

I would say logic. But students don’t need to have both. Either math or logic is needed.

1 Like