Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can you use Mouse hit but without collision?

Hi I'm using mouse hit for my script which works but is there a way to make the position of mouse hit correlate with the skybox and not parts in the game, I think this is possible with rays but I'm sure how to use them for this effect.

1 comment

0

Do you want to place it top of an object or just near an object?

1 answer

✓ Accepted answer

Set mouse.TargetFilter to workspace. Thats all there's to it.

local p = game.Players.LocalPlayer
local m = p:GetMouse()
m.TargetFilter = workspace

2 comments

0

I am not sure if this is what he wanted.

0

Thank you.

This discussion is preserved as it was. New answers, comments, and votes are closed.