RBX.lua.ClickDetector (Object)

From Legacy Roblox Wiki
Revision as of 04:37, 14 December 2008 by >Anaminus
Jump to navigationJump to search


Preliminary:This item is under development and is likely to change. Use only for experimental work.

The ClickDetector object is used to detect when a part is clicked on by a player. This allows the player to create buttons, without the need for tools. The MouseClick event must be handled via Script. This object must be the child of a Part.

Functions

The ClickDetector object incorporates only the global functions.

Properties

In addition to the global properties, the ClickDetector also includes these;

Events

In addition to the global events, the Click Detector also has these: