Skip to content

JoyYDir

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

Blitz3DBlitzPlusBlitzBasic

JoyYDir

JoyYDir:Int32 port:Int32=0
Parameter Mode Type Default Description
port In Int32 0 The joystick to ask, counted from 0. Defaults to 0.

Returns: -1, 0 or 1.

Description

Like JoyY, but as a direction only: -1 for up, 1 for down, 0 in the middle.

Related Commands

JoyChanged, JoyDeviceConnected, JoyDeviceCount, JoyUDir, JoyVDir, JoyXDir, JoyY, JoyZDir

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally