WheelForward (Event)

From Legacy Roblox Wiki
Revision as of 16:05, 13 March 2011 by >Camoy
Jump to navigationJump to search
WheelForward ( )
Description Fired when the mouse wheel is moved forward.
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)