Skip to content

ブロックを呼び出したあとで、再度、初期値を設定する。 #11

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

Open
takaokouji opened this issue Nov 4, 2018 · 1 comment

Comments

@takaokouji
Copy link
Contributor

トップレベルに move(10)x += 10 があっても、ブロックが抜けたときに初期値を設定し直すことで、なかったことにしたいため。

Scratchでは、イベントブロックの下にないものは、配置しても動作しないようになっている。

@takaokouji
Copy link
Contributor Author

それとも、初期化中フラグをたてて、各メソッドがなにもしないようにするか。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant