AcediaDocumentation

firetouchinterest

Fires touch-begin or touch-end signals on two parts.

Invokes both parts' corresponding signals. This is signal delivery, not a physical collision simulation.

firetouchinterest(first: BasePart, second: BasePart, ended: number | boolean?): ()

Parameters

ParameterTypeDescription
firstBasePartFirst part.
secondBasePartSecond part.
endednumber | boolean?0 or false begins the touch; nonzero or true ends it. Defaults to begin.

Example

local first = Instance.new("Part")
local second = Instance.new("Part")
firetouchinterest(first, second, 0)
firetouchinterest(first, second, 1)
first:Destroy()
second:Destroy()

Aliases: firetouchtransmitter.

On this page