- Select a block of code (or a single line)
- Double check the left margin to see what is selected
- Right click to the right of that selected block
- Copy Selected Statement
Then, in any other piston (or instance), you can paste that block (or single line).
- Click on “
+ Add a new statement
” (for a block), or “+ Add a new task
” (for a line)
- In the popup window, scroll down. You will see the allowable clipboard(s).
- Click on “
Paste this statement
” to insert that clipboard at that cursor location
Note, if you select a single line, it can only be pasted back into a similar container.
(Certain blocks exhibit this as well)
IE: You might not be able to paste “Set Fan to Auto” into a lightbulb block
Pro Tip: Each browser keeps it’s own clipboard.
Edit:
This question has inspired me to update the Wiki / Drag & Drop.
Any future tips & tricks I think of will be updated there.