WheelForward (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>JulienDethurens
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{Event
<onlyinclude>{{Event
|name = WheelForward
|name = WheelForward
|description = Fired when the mouse wheel is moved forward. This event never fires because the mouse wheel is used for zooming.  
|description = This event is supposed to fire when the mouse wheel is moved forward, but it never does because the mouse wheel is used for zooming.
|object = Mouse
|object = Mouse
}}</onlyinclude>
}}</onlyinclude>
Line 7: Line 7:
{{clear floats}}
{{clear floats}}


{{Example|<pre>
==See Also==
local tool = Instance.new("Tool")
*[[File:Event_Icon.png]][[WheelBackward_(Event)|WheelBackward]]
tool.Parent = game.Players.Player.Backpack
local function onActivation(mouse)
  mouse.WheelForward:connect(function()
    print("Wheel moved forward")
  end)
end
tool.Activated:connect(onActivation)
</pre>}}


[[Category:Events]]
[[Category:Events]]

Latest revision as of 08:08, 28 January 2012

WheelForward ( )
Description This event is supposed to fire when the mouse wheel is moved forward, but it never does because the mouse wheel is used for zooming.
Member of: Mouse


See Also