Detecting UI collisions with bilboard ui

Hello, i would like to know if there is any way to detect if my item is overlapping with bilboard ui (image below)

i would like to make an attachment system but idk how to detect if it is there. Maybe i could somehow convert this bilboard ui into normal ui and then check for collisions but i dont know how to get the exact position from bilboard Ui to normal Ui

1 Like

for anyone wondering, this is what i used to do it:

	local NewUi = Instance.new("Frame", PlayerUi.InventoryGui.AddonsUi)
					local Pos = game.Workspace.CurrentCamera:WorldToScreenPoint(Tool.Handle.Addon.WorldPosition)
					
					NewUi.Size = UDim2.new(0, BilboardUi.AbsoluteSize.X, 0, BilboardUi.AbsoluteSize.Y)
					NewUi.AnchorPoint = Vector2.new(0.5, 0.5)
					NewUi.Transparency = 1
					NewUi.BorderSizePixel = 0
					NewUi.Name = "Addon"

					NewUi.Position = UDim2.new(0, Pos.X, 0, Pos.Y)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.