Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Be able to select objects behind other objects #1491
Currently, the only way to select objects covered entirely by other objects is to either move those other objects out of the way temporarily, or to hide them or their object layer.
It should be possible to select objects below other layers without resorting to such actions.
One suggested solution is to cycle between all objects at a certain location when the user hold the Alt modifier (without moving the mouse, because that would drag the objects). It may also be helpful to be able to see a list of all objects at a certain location in a menu.
Right now, the selection is based on the bounding box. But I think it would be more intuitive, if by picking the foremost pixel of an object (ignoring those pixels with full transparency or alpha=0) would yield that object selected.
Photoshop has that capability: by holding down the CTRL modifier, with the Move tool selected, it picks the object whose pixel is under the cursor. In addition, Photoshop has a checkbox which will activate this 'select under cursor' function without having to use the CTRL modifier.
The interesting bit is that the Move is separate from Selection, so that you don't nudge objects inadvertently. I often mistakenly nudge an object in Tiled while selecting; it is mitigated by use of grid snapping, though snapping is sometimes not wanted.
Though this issue is about selection, I think manipulation is linked because there are no current ways to select only or transform only. My suggestion would be to adopt a similar functionality to Photoshop because I find it the clearest way of manipulating objects in a 2d space.
Well, there is:
Issue #1477 covers ignoring transparent parts of objects.
I'm not sure how much sense it makes to separate the selection and movement tools at this point. Tiled is a bit different from an image editor, and its interaction model in terms of object handling is more based on Inkscape.
@bjorn, yes I agree; that's cool. Apparently, I did not know about the Shift modifier and I think those two modifiers alone, satisfies my comments. Thanks for this info.i
I'm also glad to know that the transparent pixel issue is at the table. Thanks for your work.