Any possible way to make Mouse.Target abide with collisionGroup rules?

I am using Mouse.Target, but when collision groups are turned on, the Mouse.Target goes through the object because I am assuming that the collision group of the mouse is default. Is it possible to circumvent this?

Mouse is superseded so they will probably never add this feature.

Mouse has been superseded by UserInputService and ContextActionService, which cover a broader scope, are more feature rich, and support cross-platform patterns better.

You can probably just replace mouse.Target with this function which uses UIS. Just modify it so it returns Instance or raycast result.

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