Assign a key or touch button to a function created with Make a Block. No when started connection is needed.
No My Blocks yet.
In the editor, open My Blocks and choose Make a Block. Add your commands under its definition.
Bindings are saved in this browser. After opening another project, check the assigned functions.