Mouse.Target Cannot be Part of Charcter

Mouse.Target can’t be part of the current player’s character… Why is this even a thing?

So you wouldn’t accedently delete your body parts, lol. Well not sure why is it filtered by default.

So you wouldn’t accedently delete your body parts, lol. Well not sure why is it filtered by default.[/quote]

lol. It really shouldn’t be.

Woah, there should totally be a :GetTarget() Method/function that allows you to filter stuff…

So you wouldn’t accedently delete your body parts, lol. Well not sure why is it filtered by default.[/quote]

lol. It really shouldn’t be.

Woah, there should totally be a :GetTarget() Method/function that allows you to filter stuff…[/quote]

mouse.TargetFilter

Tho it can only have 1 part/model. There should be ability to add several parts, like a table or idk.

mouse:GetTarget(Object ignore, boolean recursive)

So the ignore, similar to raycast, is what is ignored by the mouse. Recursive tells it if it should ignore children of the children.

By the way, I basically made this with raycasting. So a workaround currently is to raycast. And FYI, ‘picking’ is done via raycasting ANYWAYS, so if you raycast you’re essentially doing exactly what this proposed ‘GetTarget’ method would do :stuck_out_tongue:

1 Like