WheelForward (Event)

From Legacy Roblox Wiki
Revision as of 06:50, 28 January 2012 by >Legend26
Jump to navigationJump to search
WheelForward ( )
Description Fired when the mouse wheel is moved forward. This event never fires because the mouse wheel is used for zooming.
Member of: Mouse


Example
local tool = Instance.new("Tool")
tool.Parent = game.Players.Player.Backpack
local function onActivation(mouse)
  mouse.WheelForward:connect(function()
    print("Wheel moved forward")
  end)
end
tool.Activated:connect(onActivation)