How would I change how mouse.targetfilter interact with each other

so i have a script that sets a circle to mouse’s position. so i make the circle a ignore object, and then i have a block that ignores the mouse also, but when they collide, the it goes on top inside of inside the box, let me show you:


this is how it behaves, and this is what i want it to behave:

above is what happens when i dont ignore the circle.

Simplest solution is to just not use Mouse.Hit nor Mouse.TargetFilter. Make your own system from scratch using raycast/shapecast because they allow so much more customizability.


1 Like

is there another way? maybe i can use a special part for hitbox, since i only need the .touched event

woah i just found canquery, this is perfect for what i am doing

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