decentraland / decentraland/creator-hub
Area select
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 14
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 44
Description
Enable **area selection** in the editor viewport.
- Click + drag to select multiple items
- Selected items can be:
- Moved
- Rotated
- Deleted
- Edited (ie: add tags or change other properties)
There’s Creator Hub branch vibe-coded by Tox Sam where this mechainc is tried out:
https://github.com/decentraland/creator-hub/pull/879
There are a number of UX decisions to make regarding area select, we can iterate and test builds with the help of the content team to evaluate which work best without impacting on scope:
- What key do we press to activate area select?
In Roblox, area select is activated simply by clicking the left mouse button and dragging, drawing a square. This mechanic is tricky because you must start the square by clicking on an empty area or a locked item. If you click and drag while pointing at an item, you’ll instead drag that one item.
In ToxSam’s version, the letter Q has to be held. We already have Q assigned to move the camera up.
- How much of an item needs to fit in the square to consider it inside?
In Roblox, half or more of the model needs to be in the square. If only a corner is in it doesn’t count.
Items are highlighted as they are considered selected to give clear feedback.
- Do children also get automatically selected, even if they’re not inside the square?
- Do items that are not visible, like behind a rock or inside a building, get selected too?
- Do we provide a way to disable this functionality from the settings menu?
Contributor guide
Assessment
This issue has not been assessed yet.