Button2DownConnectionCount (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
m Text replacement - "<code lua>" to "<SyntaxHighlight code="lua">"
Line 8: Line 8:
|}}</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]].<SyntaxHighlight 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

Revision as of 03:43, 27 April 2023

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