|
|
|
|
|
by ALittleLight
2448 days ago
|
|
Thanks for the reply and the explanation. You're right that I was trying to calculate distance. One thing that confused me though, when I was trying to figure out how to square root is that one of your code blocks seems to translate into Math.pow, which made me think that I could use it too. For the same reason you gave, equality between block-based and text-based programmers, I'd suggest any function that the blocks translate into should be allowed. If it would help you I can find the specific block I'm referring to latter today. |
|
Oh good! Thanks for following up on that.
> one of your code blocks seems to translate into Math.pow, which made me think that I could use it too.
The way that the blocks work is that they convert into JavaScript under the hood. This means that there's no way to do something through the blocks that you can't do in code (although the converse isn't necessarily true). This means that if there is a block that converts to Math.pow, it's broken, so I'd definitely like to know about that if you find it.