Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » a call block
- crispeeweevile
-
13 posts
a call block
i know what the my block stuff is and thats what i wanna use to just be able to call a boolean (the triangle stuff like 5 = 5 | 5 > 4 | 4 < 5 ) Thanks in advance
crisp

crisp

- deck26
-
1000+ posts
a call block
Your question is unclear to me. You can put a boolean in a custom block call but it will be evaluated at the time of calling - you're passing a fixed boolean value, not a variable statement.
- deck26
-
1000+ posts
a call block
Well what to do you want the block to do? Saying ‘the triangle stuff like …..’ may be clear to you but not those reading this. How would you use the block?
- crispeeweevile
-
13 posts
a call block
oh i want it to be able to say something like (im bad with using the scratch blocks in any comment/forum so ye)
(im an expert at math lol)
(im an expert at math lol)
- deck26
-
1000+ posts
a call block
Still unclear. Do you mean you want the block to say if something is true or false? Or you want it to receive two parameters and say which is biggest? or something else.
The less info you give on what you want the longer it takes to get the help you want. If you'd explained this properly you'd have had your answer by now!
The less info you give on what you want the longer it takes to get the help you want. If you'd explained this properly you'd have had your answer by now!
- Dragynfly
-
12 posts
a call block
@deck26, they are most likely asking about a block that returns the boolean itself, not the result.
AFAIK this isn't possible in Scratch, but you can perhaps do something like this:
The downside to this is, the code you can call is bounded to however many cases of code you have.
I decided to put this in a project. See https://scratch.mit.edu/projects/329038632/
AFAIK this isn't possible in Scratch, but you can perhaps do something like this:
The downside to this is, the code you can call is bounded to however many cases of code you have.
I decided to put this in a project. See https://scratch.mit.edu/projects/329038632/
- deck26
-
1000+ posts
a call block
@deck26, they are most likely asking about a block that returns the boolean itself, not the result.
AFAIK this isn't possible in Scratch, but you can perhaps do something like this:
The downside to this is, the code you can call is bounded to however many cases of code you have.
I decided to put this in a project. See https://scratch.mit.edu/projects/329038632/
Seems like a huge assumption from the information we've been given but perhaps you've seen some reference to something like this.
If all they want is to evaluate a boolean the boolean statement already does that so no evaluation is required.
- Dragynfly
-
12 posts
a call block
Seems like a huge assumption from the information we've been given but perhaps you've seen some reference to something like this.
Unfortunately it is. Maybe the solution to what OP is asking for is to just put the block into the say input?
- crispeeweevile
-
13 posts
a call block
Found The Answer Sorry to have partially wasted your time
- Discussion Forums
- » Help with Scripts
-
» a call block