Touched and TouchEnded without the parts physically meeting. toggle chooses the edge: a falsy value (or 0) begins the touch, a truthy value (or 1) ends it. Both parts must be simulated in the same world.
Parameters
Instance
required
The first
BasePart.Instance
required
The
BasePart it touches.boolean or number
required
Begin (
0/false) or end (1/true) the touch.Example
Errors
Related
fireclickdetector: fire a click instead.