Button2DownConnectionCount (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>JulienDethurens
No edit summary
Line 3: Line 3:
<onlyinclude>{{Property
<onlyinclude>{{Property
|name                = Button2DownConnectionCount
|name                = Button2DownConnectionCount
|property            = [[Int]] ''Button2DownConnectionCount''
|property            = [[int]] ''Button2DownConnectionCount''
|description          = Returns the amount of times the right mouse trigger was connected by being pushed.
|description          = The amount of times the right mouse trigger was connected by being pushed.
|object              = PlayerMouse
|object              = PlayerMouse
|}}</onlyinclude>
|}}</onlyinclude>
{{clear floats}}
{{clear floats}}
{{Example|This example will only work if in a '''LocalScript'''.<code lua>
{{Example|This example will only work if in a [[LocalScript]].<code lua>
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( property )
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( property )
   if property == "Button2DownConnectionCount" then
   if property == "Button2DownConnectionCount" then
Line 15: Line 15:
   end
   end
end )</code>}}
end )</code>}}
[[Category:Properties]]
[[Category:Properties]]

Revision as of 02:20, 24 January 2012

Button2DownConnectionCount
Property int Button2DownConnectionCount
Description The amount of times the right mouse trigger was connected by being pushed.
Member of PlayerMouse
Example
{{{1}}}