app_put_and_run
Inject block scripts into mBlock, execute the hat block, and retrieve a variable's value in a single call.
Instructions
LIVE combo (like upload-and-monitor): inject a script, run its hat, then read back a variable — new blocks to visible result in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| blocks | Yes | ||
| target | No | Sprite1 | |
| readVar | No | Variable to read back after running | |
| hatOpcode | No | event_whenflagclicked |