TargetFilter (Property)

From Legacy Roblox Wiki
Jump to navigationJump to search
TargetFilter
Property Instance targetFilter
Description Allows parts to be disabled from the mouse's raycast functions.
Member of Mouse


Description

TargetFilter prevents certain parts from being registered under mouse.Target and mouse.Hit. Setting a part or model to this value would exclude the part or children of the model from the mouse raycast functions.