What is the effective solution to overcome the Mouse.TargetFilter limitation?

Since my first lines in Roblox Lua, I have been using Mouse.Target.
As the program grew, I had to create several workarounds, since Mouse.TargetFilter only allows one object as an argument; so, I had to make several rearrangements in folders, in order to have several objects ignored at once.
But now, it is no longer possible to keep changing objects from one folder to another, due to the complexity of the current program.

I definitely have to abandon Mouse.Target.
But I’d not like to redo all my code for that.

What is the effective solution to overcome the Mouse.TargetFilter limitation?

There is a module by EgoMoose that uses raycasts, and therefore allows for multiple TargetFilter objects. It’s called Mouse or something like that. Here it is

1 Like

sucks, but if I was you, I would just make the jump to

or do Cyafu’s option with that module

1 Like