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

EventY

EventY:Int32

Returns: The Y value, see the table at EventData.

Description

Gives the second coordinate of the last event, like EventX: the mouse position for $203 and $205, the window position for $801 and the height for $802.

Examples

Graphics 320, 240, 32, 2
win = CreateWindow("Moves", 20, 20, 200, 120, Desktop(), 15)
Repeat
	e = WaitEvent()
	If e = $801 Then SetStatusText win, "Moved to " + EventX() + ", " + EventY()
Until e = $803

Related Commands

EventData, EventID, EventSource, EventX, EventZ, PeekEvent, WaitEvent

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally