GetGuiObjectsAtPosition not finding buttons, but only their parents?

Hello!

I don’t know if this was intentional or not, but the description of this function says it should find it…

The code is simply:

local objects = PlayerGui:GetGuiObjectsAtPosition(touchInput.Position.X, touchInput.Position.Y)
	print(unpack(objects))

but it doesn’t print out any of the buttons, it just prints out the parent object in which the button’s located, when description clearly stated it should find all of the objects…

Also, as evident I’m using touch Input object returned by TouchMoved.
Is there any way that this is my fault, not just a bug?

3 Likes