Skip to content
Claude edited this page Oct 27, 2026 · 4 revisions
BlitzPlus

EventZ

EventZ:Int32

Returns: The Z value, 0 if the event has none.

Description

Gives the third value of an event. Most events leave it at 0, it is only filled in when a HotKeyEvent says what to put there. The official help lists this command as undocumented.

Examples

Graphics 320, 240, 32, 2
win = CreateWindow("Z", 20, 20, 200, 100, Desktop(), 15)
HotKeyEvent 30, 2, $4242, 1, 2, 3
Repeat
	e = WaitEvent()
	If e = $4242 Then SetStatusText win, "Z is " + EventZ()
Until e = $803

Related Commands

EventData, EventID, EventSource, EventX, EventY, PeekEvent, WaitEvent

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally