How to make the Objectbe in the same place where the cursor, but not contact with the other Objects

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local part = workspace.Part
mouse.TargetFilter = part
local ts = game:GetService("TweenService")

repeat wait()
	local tween = ts:Create(part,, {["CFrame"] = mouse.Hit})
until false

Object with billboard gui doesn’t want to go beyond the walls and my cursor looks like it’s getting caught on something

Where do u want the billboard to go instead?

billboard located in startergui (in playergui if im playing) and billboard adornee is this part