Button1DownConnectionCount (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy No edit summary |
>ArceusInator No edit summary |
||
Line 9: | Line 9: | ||
[[Category:Properties]] | [[Category:Properties]] | ||
{{Example|<pre> | |||
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( playermouse, property ) | |||
if property == "Button1DownConnectionCount" then | |||
print( "The Player has pressed the Left Mouse Button " .. playermouse.Button1DownConnectionCount .. " times." ) | |||
end | |||
end )</pre>}} |
Revision as of 16:26, 24 January 2011
Button1DownConnectionCount | |
Property | Int Button1DownConnectionCount |
Description | Returns the amount of times the left mouse trigger was connected by being pushed. |
Member of | PlayerMouse |
Example
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( playermouse, property ) if property == "Button1DownConnectionCount" then print( "The Player has pressed the Left Mouse Button " .. playermouse.Button1DownConnectionCount .. " times." ) end end )