Skip to content
Signals & connectionsOverview

fireclickdetector

Represents activation of a click detector.

Details#

Requests a click-detector interaction. A local unparented detector is useful for checking argument handling without selecting an existing game interaction; a successful call alone does not prove a remote effect.

Examples#

Example

Luau
local detector = Instance.new("ClickDetector")
local ok, err = pcall(fireclickdetector, detector)
print(ok, err)
detector:Destroy()