-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set Check method is not working in statement inputs when i am passing any custom_block as type in setcheck("position") #42
Comments
Could you add an example of your code that is having the problem? |
In this above block(Trajectory), I want to connect only the "position" block in its statementInput for that I have added setCheck method also. But despite that, every block is getting connected (those who has previousStatement = true). I can not put check in position's block previous Statement, because position block can be connected with other Blocks |
Just a guess, but I believe your "position" block's init function is missing a More Info: https://developers.google.com/blockly/guides/create-custom-blocks/type-checks Also, this doesn't seem to be related to this repo's react bindings for Blockly. In the future, You might have an easier time finding an answer by asking a question on StackOverflow, given you include the example code and explanation like you have done here. |
"A block with a previous connector cannot have an output connector, and vice versa. The term statement block refers to a block with no value output. A statement block will usually have both a previous connection and a next connection." I have the same problem as @manish-kumar-01 . Did you find any solution? |
No description provided.
The text was updated successfully, but these errors were encountered: