Button1DownConnectionCount (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Billiland
New page: {{CatUp|Properties}} {{Property |name = Button1DownConnectionCount |property = Int ''Button1DownConnectionCount'' |description = The amount of tim...
>ArceusInator
No edit summary
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
{{CatUp|Properties}}


{{Property
<onlyinclude>{{Property
|name                = Button1DownConnectionCount
|name                = Button1DownConnectionCount
|property            = [[Int]] ''Button1DownConnectionCount''
|property            = [[Int]] ''Button1DownConnectionCount''
|description          = The amount of times the left mouse trigger is connected.
|description          = Returns the amount of times the left mouse trigger was connected by being pushed.
|object              = [[RBX.lua.PlayerMouse (Object)|PlayerMouse]]
|object              = PlayerMouse
|}}
|}}</onlyinclude>


[[Category:Properties]]
[[Category:Properties]]
{{Example|<pre>
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( property )
  if property == "Button1DownConnectionCount" then
      print( "The Player has pressed the Left Mouse Button " .. game.Players.LocalPlayer.PlayerMouse.Button1DownConnectionCount .. " times." )
  end
end )</pre>}}

Latest revision as of 16:29, 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( property )
   if property == "Button1DownConnectionCount" then
      print( "The Player has pressed the Left Mouse Button " .. game.Players.LocalPlayer.PlayerMouse.Button1DownConnectionCount .. " times." )

   end
end )