Skip to content

MouseZSpeed

Narta Xaymar Dirks edited this page Oct 30, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

MouseZSpeed

MouseZSpeed:Int32

Returns: The wheel movement since the previous call.

Description

How far the wheel moved since the last call, in notches. Rolling away from you is positive and towards you negative.

Differences

  • The original only ever gives -1, 0 or 1. A wheel that is turned several notches between two calls can give a larger number here.
  • The Device argument is a BlitzLLVM extension: the original has no such argument and only knows one mouse.

Related Commands

MouseChanged, MouseDeviceConnected, MouseDeviceCount, MouseDeviceName, MouseDown, MouseXSpeed, MouseYSpeed, MouseZ

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally