RBX.lua.ClickDetector (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
based on forum post by MrBlockson
>Camoy
No edit summary
>GoldenUrg
(based on forum post by MrBlockson)
Line 10: Line 10:
{{Preliminary}}
{{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]].  
The ClickDetector object is used to detect when a part (or model) 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]].  




Anonymous user

Navigation menu