ClickDetector as if a player interacted with it. distance is the reported click distance and defaults to 0. event selects which signal to fire and defaults to MouseClick; the accepted values are MouseClick, RightMouseClick, MouseHoverEnter, and MouseHoverLeave.
Parameters
Instance
required
The
ClickDetector to fire.number
default:"0"
The click distance to report.
string
default:"MouseClick"
Which event to fire.
Example
Errors
Related
fireproximityprompt: trigger a ProximityPrompt instead.