Skip to content

Game Controller Down

  • Condition
  • Gamepad
  • Advanced mode

Whether a button, axis or hat switch of a game controller (flight stick, throttle, wheel, pedals, handbrake, button box) is held or pushed past its press point now, and how far, e.g. how far a pedal is pressed. Press Learn and move the control.

In the editor, press Space on the canvas to add a step, then open Conditions > Gamepad, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Control

Text Required

The button, axis or hat switch: press Learn and move it. Written as the controller's ids and the control, e.g. 044F:B10A button 3, 044F:B10A axis Z, 044F:B10A axis X+ or 044F:B10A hat up.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Press point (%)

A percentage

For axes: how far it must go, 1 to 100. Buttons and hats ignore it.

Starts as: 50 Can come from another step's output

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Game Controller Down outputs
OutputGivesWhat it is
Is downYes or no
How far (%)A percentageHow far it's pushed now, 0 to 100 (a button or hat is 0 or 100).
ConnectedYes or noWhether the controller is connected.

Good to know

  • It's also on a trigger's Only when list, as "Game controller input held" (see Conditions and Only when).

More in Gamepad