RBX.lua.ClickDetector (Object): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker m RBX.Lua.ClickDetector moved to RBX.lua.ClickDetector |
>Anaminus mNo edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Class reference}} | {{CatUp|Class reference}} | ||
__NOTOC__ | |||
{{Preliminary}} | |||
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]]. | 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]]. |
Revision as of 04:37, 14 December 2008
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: