Skip to content
Signals & connectionsOverview

firetouchinterest

Represents a touch interaction.

Details#

Requests a touch transition between two parts using a numeric begin/end flag. It is distinct from physically moving the parts. The example is limited to two locally created unparented parts and does not establish server acceptance.

Examples#

Example

Luau
local a, b = Instance.new("Part"), Instance.new("Part")
local ok, err = pcall(function()
    firetouchinterest(a, b, 0)
    firetouchinterest(a, b, 1)
end)
print(ok, err)
a:Destroy()
b:Destroy()