1, ネコを左側(端にくっつけない)に置きます。 2, スクリプトを動かします。 3, 変数「log」にネコのスプライトの情報が文字列で保存されます。 リミックで自由にあなたのプロジェクトに組み込んでもいいのよ? ログの解析は、スクリプト実行後、あなたのパソコンにScratchのプロジェクトを保存すると、変数の中が見れると思います(まだ調べていない)。 ---- 1. Place the cat on the left (do not stick to the end). 2, Run the script. 3, The information of cat sprite is stored as a string in variable "log". Are you free to remix and integrate it into your project? Analysis of the log, I think that you can see the inside of the variable if you save the project of Scratch on your personal computer after executing the script (not yet examined).
仕事はCSharp, 趣味ではPythonでプログラミングをしていますが、よくテキストログを出力して、プログラムの動作を確認します。 しかし、Scratchでそれをやることがあまりないので、今回簡単に作りました。 Scratch Wikiの文字列のページが参考になりました。 文字列 - Japanese Scratch-Wiki https://ja.scratch-wiki.info/wiki/%E6%96%87%E5%AD%97%E5%88%97 Wikiに記事を書いている皆さん、翻訳している皆さん、ありがとう!