not sure how to
(btw, you should escape (
, )
, {
, [
, }
, ]
, <
, and >
)
do you mind not using scratchblocks?
(just confusing)
Done.
yeah i used it to test
I need help, if I create a category called "category", it returns (something) :: category but I need to find the hex of it so it returns (something) :: #(hex)
note that something is not the block name I used to try it.
SpriteMorph.prototype.blockColor
is an array of Color
objects, which have r
, g
, and b
properties.
Use (
property).toString()
to convert each to hexadecimal.
hmm... im not able to get it to work
but I need help with this. my idea is to convert each scratchblock into a blockspec, turning that into a block, and then adding rings, reporters and booleans, then the inputs, then the categories. (@pumpkinhead said we can use his script builder library)
if a scratchblock is not able to be transferred into a regular block, it should disappear.
so, I could do [scratchblocks] run (scratchblocks –> block [move (10) steps] :: grey) :: control // the input with move (10) steps should be multiline. [/scratchblocks]
@bh (or anyone), would this be possible?
I also think my idea is not going to be the most efficient.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.