Is this a Roblox bug? Selection Service first index isn't the first selected but it's child

Wanted to make sure before posting this in Bug Reports.

Using Selection:Get()[1] when selecting multiple instances ( Shift-LMouse ) doesn’t return the first selected instance but returns it’s child.

I am 70% sure this is a bug because it works when I select them using ( Ctrl+LMouse ).

Notice that I have “Folder1” expanded.

First print using ( Shift + Left-Click ).

2 Likes

Yeah i don’t think it should work like that since you don’t even touch Part1 when doing it.
Though it seems to not even work like that at all with the new studio UI, with it not selecting children for shift click:

Yeah, I was testing the new explorer and noticed this too.
One can call it a fix, but I’m not 100% sure.
I’ll go report it anyway and see what they have to say.

1 Like

Im pretty sure that is because you are using shift click and that creates new array each time, so if you were to use ctrl it should’ve not heppened likely

But I selected “Folder1” first, so technically it should be the first in the table, even if it’s creating new table every time.

Im pretty sure shift selection alghoritm is more chaotic compare to it’s rich brother ctrl selection.