Add a hotkey to allow dragging a token without revealing the area it travels through
Originally in GitLab by @mxzf
Feature Summary
Add a hotkey, or something similar, that lets the GM drag a PC's token across the scene without revealing vision of the area that the token is crossing.
User Experience
Currently, a GM wanting to move a PC token to another area of the map needs to either toggle visibility, move, and toggle back or they need to copy-paste-delete the token to move without revealing vision. It would be preferable to have a hotkey that could be held while dragging the token that briefly toggles visibility while it's being dragged, similar to the functionality of Alt while dragging tokens into a canvas to create tokens with the visibility toggled off. This would allow a much more streamlined workflow of moving a token around in the scene without unintentionally granting vision.
Priority/Importance
This is a fairly low priority thing, the functionality to achieve the desired result already exists as-is. But adding a quicker and easier workflow would be a nice QoL feature and seems to be something that many users would get use out of (based on my experience seeing people ask how to achieve that effect in Discord).
Thanks for writing this up, it's been on my mental radar for a while, just not gotten written down into GitLab yet.
I suggest making the token instantly "teleport" to the target location (having no animation at all) if drag-dropped while holding a specific key (Ctrl or Alt) - this will be the same functionality as some modules (such as Drag Ruler) already offer, and will also help for some other use cases:
- nicer visual when a character uses a "teleportation" power
- allow GM to move an unseen creature from one room to another without having it visibly pass through squares visible to the players
Seems like this and https://github.com/foundryvtt/foundryvtt/issues/6598 are duplicates or at least related.
Originally in GitLab by @ghost91-
Feature Summary
When dragging & dropping a token to a different location, by default, the token movement is animated, revealing the fog of war along the way. This feature would make it so that the movement is not animated if the CTRL key is being held down while dropping the token.
User Experience
Currently, if users want to "teleport" tokens to a different part of the scene without revealing the fog of war along the way, the recommended workflow is to copy the token, paste it at the target location, and then delete the original. This is cumbersome, just dragging and dropping with a modifier (such as CTRL would be much more convenient to users.
Priority/Importance
It's not very important, since there is a workaround (copy, paste, delete, as explained above). However, the workaround is annoying and people frequently run into this (it's a commonly asked question in the discussion and core-how-to discord channels). Having this feature would probably resolve these issues once and for all, if it is also properly described in the "Core Mouse Controls" section of the "Configure Controls" dialog.
It's also a fairly trivial change: I was able to make it work by replacing
return canvas.scene.updateEmbeddedDocuments("Token", updates);
in Token#_onDragLeftDrop with
return canvas.scene.updateEmbeddedDocuments("Token", updates, { animate: !originalEvent.ctrlKey });
Completed by #12543 and #12408.