I noticed there is an option when editing pistons that allow for moving items via drag and drop. I’ve enabled this option, but cannot for the life of me figure out how to drag items up or down. Anyone have some pointers on this issue?
Moving of Items
Yeah, I was struggling with this yesterday. I’m pretty new. Anywho, I found that if you drag the block by the up/dn arrows in the margin and drag them to where you want theem in the code (not in the margin, but the actual code) it seemed to work better for me. It wasn’t working well when I was trying to drag up and down in that arrow column. I had to drag it over to the text/code window.
Synchronicity. I was messing with this yesterday. I think I understand the concept but it’s not simple at all. It should just move. On an iPad, with or without a pen, I couldn’t move it at all. The screen just wants to scroll. On my Galaxy Note, with or without pen, I can get things to change but found controlling the destination of the move impossible (for me) to control. A couple of times the line I was trying to move just disappeared. Now, I am more than willing to admit that at times the obvious eludes me, but it sure seems to be a clunky feature. This isn’t a huge thing but for people with large pistons, I can’t i,aging this is the best way to implement this. I would think you could turn the edit on, tag the line (or lines?) and using and by tapping the up/down arrow the selection would just move in an orderly fashion. I hope one day blocks of pistons could be saved as a form of “cookbook” where they can easily be pasted into new or other pistons as a form of subroutine.
The move function is only intended for desktop browsers, not mobile.
Click and hold the grips in the margin to pick up an item, then drop into the script (not the margin) to get the positioning right.
Hold Ctrl during drag n drop to make a copy of that line.
Right click on the grip and you get a copy to clipboard option… paste is achieved by clicking ‘add a new statement’ where you’ll see the copied script(s) below the regular options in the pop-up window… copy / paste works across different pistons and can store multiple selections, which can be super handy!
Now that you mention it it seems like a long time ago I did use it on my mac. I never even turn my computer on anymore. For this use though I’ll fire it up. Thank you!
Okay, I was finally able to get it to work, but it doesn’t work for everything. For example, I have a bunch of variables defined at the top of one of my pistons. I just sort of haphazardly put them there for testing purposes. Now I’d like to move them around to make the code easier to decipher, but I can’t. Instead it seems I have to recreate each variable in the order I want them to appear. Very frustrating.
Maybe a video demonstrating how this is supposed to work would be good… I can’t get it to work for the life of me using Chrome on Windows machine.
What part are you struggling with?
Can you get the grips to appear in the left margin?
Can you pick up the grips?
Basically:
- click the move button (two arrows symbol) at the top of the page
- grips appear in margin
- click and hold the desired grip
- drag over the script text (not the margin) and it will highlight the drop position
- release the mouse button to drop
you can hold Ctrl during the drag and drop to make a copy of the selected line / block, instead of just moving it.
You can also right click the grip to save that line / block to clipboard, for pasting into a different piston.
I’m embarrassed to admit this… but it was an RTFM moment… I didn’t realize you had to click on the button at the top to toggle drag and drop on… so I never saw the grips. Got it now, thanks for the explanation.
You can’t pick up more than one grip at a time (i.e. holding shift). Most grips just select a single line but grips next to the ‘IF’ and ‘with’ statements will select that whole block of lines.
Any plans to go more mobile-friendly in that respect? Just spent the last 20 minutes trying to move things around on mobile before I gave up and asked Google!