scratch_agent / v2 /utils /generated_output_json.json
WebashalarForML's picture
Upload 39 files
63dd93e verified
{
"event_whenkeypressed_1": {
"block_name": "when () key pressed",
"block_type": "Events",
"op_code": "event_whenkeypressed",
"block_shape": "Hat Block",
"functionality": "This Hat block initiates the script when a specified keyboard key is pressed.",
"inputs": {},
"fields": {
"KEY_OPTION": [
"space",
null
]
},
"shadow": false,
"topLevel": false,
"id": "event_whenkeypressed_1",
"parent": null,
"next": null
},
"motion_changeyby_1": {
"block_name": "change y by ()",
"block_type": "Motion",
"block_shape": "Stack Block",
"op_code": "motion_changeyby",
"functionality": "Changes the sprite's Y-coordinate by the specified amount, moving it vertically.",
"inputs": {
"DY": [
1,
[
4,
"10"
]
]
},
"fields": {},
"shadow": false,
"topLevel": false,
"id": "motion_changeyby_1",
"parent": null,
"next": null
},
"motion_changeyby_2": {
"block_name": "change y by ()",
"block_type": "Motion",
"block_shape": "Stack Block",
"op_code": "motion_changeyby",
"functionality": "Changes the sprite's Y-coordinate by the specified amount, moving it vertically.",
"inputs": {
"DY": [
1,
[
4,
"10"
]
]
},
"fields": {},
"shadow": false,
"topLevel": false,
"id": "motion_changeyby_2",
"parent": null,
"next": null
},
"control_wait_1": {
"block_name": "wait () seconds",
"block_type": "Control",
"block_shape": "Stack Block",
"op_code": "control_wait",
"functionality": "Pauses the script for a specified duration.",
"inputs": {
"DURATION": [
1,
[
5,
"1"
]
]
},
"fields": {},
"shadow": false,
"topLevel": false,
"id": "control_wait_1",
"parent": null,
"next": null
}
}