diff --git a/Packages/src/Runtime/SoftMask.cs b/Packages/src/Runtime/SoftMask.cs index df74e94..449dd8c 100644 --- a/Packages/src/Runtime/SoftMask.cs +++ b/Packages/src/Runtime/SoftMask.cs @@ -628,7 +628,7 @@ public override bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera) if (_shapeContainer) { Profiler.BeginSample("(SM4UI)[SoftMask] IsRaycastLocationValid > Shapes"); - valid |= _shapeContainer.IsInside(sp, eventCamera, false, 0.5f); + valid = _shapeContainer.IsInside(sp, eventCamera, valid, 0.5f); Profiler.EndSample(); }