Button2DownConnectionCount (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>SoulStealer9875 No edit summary |
>Legend26 No edit summary |
||
Line 8: | Line 8: | ||
|}}</onlyinclude> | |}}</onlyinclude> | ||
{{clear floats}} | {{clear floats}} | ||
{{Example|This example will only work if in a'''LocalScript'''.< | {{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 14: | Line 14: | ||
end | end | ||
end )</ | end )</code>}} | ||
[[Category:Properties]] | [[Category:Properties]] |
Revision as of 02:11, 24 January 2012
Button2DownConnectionCount | |
Property | Int Button2DownConnectionCount |
Description | Returns the amount of times the right mouse trigger was connected by being pushed. |
Member of | PlayerMouse |
Example
{{{1}}}