File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ <h4 style="margin: 0;">📄 JavaScript Code</h4>
130130 </ div >
131131 </ div >
132132
133+ <!-- ✅ TOOLBOX WITH ENHANCED LOOP CATEGORY -->
133134 < xml id ="toolbox " style ="display: none ">
134135 < category name ="Logic " colour ="%{BKY_LOGIC_HUE} ">
135136 < block type ="controls_if "> </ block >
@@ -168,6 +169,21 @@ <h4 style="margin: 0;">📄 JavaScript Code</h4>
168169 < block type ="text_isEmpty "> </ block >
169170 < block type ="text_join "> </ block >
170171 </ category >
172+
173+ <!-- 🔁 Enhanced Loop Category -->
174+ < category name ="Loops " colour ="%{BKY_LOOPS_HUE} ">
175+ < block type ="controls_repeat_ext ">
176+ < value name ="TIMES ">
177+ < shadow type ="math_number ">
178+ < field name ="NUM "> 10</ field >
179+ </ shadow >
180+ </ value >
181+ </ block >
182+ < block type ="controls_whileUntil ">
183+ < field name ="MODE "> WHILE</ field >
184+ </ block >
185+ </ category >
186+
171187 < category name ="Variables " custom ="VARIABLE " colour ="%{BKY_VARIABLES_HUE} "> </ category >
172188 < category name ="Functions " custom ="PROCEDURE " colour ="%{BKY_PROCEDURES_HUE} "> </ category >
173189 </ xml >
You can’t perform that action at this time.
0 commit comments